Skip to content
Snippets Groups Projects
  1. Oct 03, 2003
  2. Oct 02, 2003
    • Chris Demetriou's avatar
      mips.c (mips_emit_prefetch): Use operand 3 in instructions being output. · cee2bc2b
      Chris Demetriou authored
      2003-10-02  Chris Demetriou  <cgd@broadcom.com>
      
              * config/mips/mips.c (mips_emit_prefetch): Use operand 3
              in instructions being output.
              * config/mips/mips.md (prefetch_si_address): Change third
              operand's constraint letter to 'I'.
              (prefetch_di_address): Likewise.
              (prefetch_si, prefetch_di): Set third operand to const0_rtx.
      
      From-SVN: r72053
      cee2bc2b
    • Mark Mitchell's avatar
      re PR c++/12486 (Accepts IMHO invalid C++ code) · c8a65a25
      Mark Mitchell authored
      	PR c++/12486
      	* typeck.c (finish_class_member_access_expr): Issue diagnostic
      	on erroneous use of qualified name.
      
      	PR c++/12486
      	* g++.dg/inherit/error1.C: New test.
      
      From-SVN: r72052
      c8a65a25
    • Benjamin Kosnik's avatar
      locale_classes.h (locale::facet::_S_get_c_name): Add. · bb1b12ec
      Benjamin Kosnik authored
      2003-10-02  Benjamin Kosnik  <bkoz@redhat.com>
      
      	* include/bits/locale_classes.h (locale::facet::_S_get_c_name): Add.
      	* src/locale.cc: Define.
      	* src/localename.cc: Use it.
      	* config/locale/generic/time_members.h: Same.
      	* config/locale/gnu/messages_members.h: Same.
      	* config/locale/gnu/time_members.h: Same.
      
      From-SVN: r72050
      bb1b12ec
    • Paolo Carlini's avatar
      re PR libstdc++/12232 (Incorrect handling of openmode argument in filebuf::seekoff and seekpos) · 8dcaff28
      Paolo Carlini authored
      2003-10-02  Paolo Carlini  <pcarlini@unitus.it>
      
      	PR libstdc++/12232
      	* include/bits/fstream.tcc (seekoff): Ignore the openmode
      	argument; simplify.
      	* config/io/basic_file_stdio.h (__basic_file<char>::seekoff,
      	seekpos): Remove the openmode argument.
      	* config/io/basic_file_stdio.cc (__basic_file<char>::seekoff,
      	seekpos): Remove redundant placeholder for the openmode argument.
      	* testsuite/27_io/basic_filebuf/seekoff/char/12232.cc: New.
      	* testsuite/27_io/basic_filebuf/seekoff/char/3-in.cc: Tweak.
      	* testsuite/27_io/basic_filebuf/seekoff/char/3-out.cc: Likewise.
      	* testsuite/27_io/basic_filebuf/seekpos/char/3-in.cc: Likewise.
      	* testsuite/27_io/basic_filebuf/seekpos/char/3-out.cc: Likewise.
      
      From-SVN: r72048
      8dcaff28
    • Guilhem Lavaux's avatar
      2003-10-02 Guilhem Lavaux <guilhem@kaffe.org> · d1aa4795
      Guilhem Lavaux authored
      	* java/net/InetSocketAddress.java
      	(InetSocketAddress): Made exception more clear.
      	(equals): Handle case when addr is null.
      	(toString): Likewise.
      	* java/net/NetworkInterface.java
      	(static): Load native library.
      	(getNetworkInterfaces): Rewritten.
      
      From-SVN: r72047
      d1aa4795
    • Daniel Jacobowitz's avatar
      strerror.c: Revert last change. · bca48dc6
      Daniel Jacobowitz authored
      	* strerror.c: Revert last change.  Declare static sys_nerr
      	and sys_errlist using different names.
      
      From-SVN: r72046
      bca48dc6
    • Benjamin Kosnik's avatar
      locale.cc (locale::_S_initialize): Use __gthread_active_p. · 5c109a17
      Benjamin Kosnik authored
      2003-10-02  Benjamin Kosnik  <bkoz@redhat.com>
      
      	* src/locale.cc (locale::_S_initialize): Use __gthread_active_p.
      	(locale::facet::_S_get_c_locale): Same.
      
      From-SVN: r72045
      5c109a17
    • Thomas Fitzsimmons's avatar
      GtkComponentPeer.java (insets): New field. · b59b5081
      Thomas Fitzsimmons authored
      2003-10-02  Thomas Fitzsimmons  <fitzsim@redhat.com>
      
      	* gnu/java/awt/peer/gtk/GtkComponentPeer.java (insets): New
      	field.
      	(initializeInsets): New method.
      	(GtkComponentPeer): Call initializeInsets.  Call setCursor and
      	setBounds unconditionally.
      	(setBounds): Convert coordinates if parent is a Window.
      	* gnu/java/awt/peer/gtk/GtkContainerPeer.java (insets): Move
      	field to GtkComponentPeer.
      	(GtkContainerPeer): Don't initialize insets.
      	* gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
      	New method.
      	(create): Call new GtkWindowPeer create method.
      	* gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets):
      	New method.
      	(create): Call new GtkWindowPeer create method.
      	(setBounds): Remove method.
      	(postConfigureEvent): Likewise.
      	* gnu/java/awt/peer/gtk/GtkWindowPeer.java: Replace GTK window
      	type constants with GDK window type constants.
      	(create(int,boolean,int,int,GtkWindowPeer)): New method.
      	(create(int,boolean)): Likewise.
      	(create()): Call create(int,boolean).
      	(nativeSetBounds): New native method declaration.
      	(setBounds): Call native method declaration.
      	(setSize): New native method declaration.
      	(setBoundsCallback): Likewise.
      	(postConfigureEvent): Handle change in insets.  Call setSize and
      	setBoundsCallback methods.
      	* java/awt/Window.java (Window): Set visible to false.
      	(setBoundsCallback): New method.
      	* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
      	(gtkWidgetGetLocationOnScreen): If this component is not a
      	container, adjust the location returned based on the peer's
      	allocation.
      	(set(String,boolean)): Revert change from 2003-09-19.
      	* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
      	(awt_event_handler): Fix inset calculation.
      	* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Add JNI
      	glue for Window.setBoundsCallback.
      	* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
      	Set up stacking order, window decorations and window manager
      	hints.
      	(setBoundsCallback): New method.
      	(setSize): New method.
      	(nativeSetBounds): New method.
      	* jni/gtk-peer/gtkpeer.h: Declare setBoundsCallbackID.
      
      From-SVN: r72043
      b59b5081
    • Jason Merrill's avatar
      correct comment · 01d28c3f
      Jason Merrill authored
      From-SVN: r72042
      01d28c3f
    • Zack Weinberg's avatar
      system.h: Poison macros obsoleted by earlier patch. · 30ee56e1
      Zack Weinberg authored
      	* system.h: Poison macros obsoleted by earlier patch.
      	* config/cris/cris.c: C90-ify a function definition.
      
      From-SVN: r72041
      30ee56e1
    • Benjamin Kosnik's avatar
      [multiple changes] · 8ae81136
      Benjamin Kosnik authored
      2003-10-02  Benjamin Kosnik  <bkoz@redhat.com>
      
      	* config/linker-map.gnu: Export _S_get_c_locale instead of
      	_S_c_locale object.
      
      2003-10-02  Petur Runolfsson  <peturr02@ru.is>
      
      	* config/locale/generic/c_locale.cc
      	(category_names, locale::_S_categories): Const qualify.
      	* config/locale/gnu/c_locale.cc: Same.
      	* config/locale/generic/time_members.h (__timepunct::__timepunct):
      	Copy string contents before assigning to _M_name_timepunct,
      	qualify strcpy and strlen with std::.
      	* config/locale/gnu/time_members.h: Same.
      	* config/locale/gnu/messages_members.h (messages::messages):
      	Copy string contents before assigning to _M_name_messages,
      	qualify strcpy and strlen with std::.
      	* config/os/gnu-linux/ctype_noninline.h
      	(ctype<char>::classic_table()): Don't call locale::classic().
      	* include/bits/locale_classes.h
      	(locale::_S_categories): Const qualify.
      	(locale::_S_once, locale::_S_initialize_once,
      	locale::facet::_S_once, locale::facet::_S_initialize_once,
      	locale::facet::_S_get_c_locale): Declare.
      	(locale::_S_initialize): Don't define.
      	(locale::facet::_S_c_locale): Make private.
      	(locale::facet::_S_c_name): Same, const qualify.
      	(locale::_Impl::_Impl(facet**, size_t, bool)): Drop unused
      	parameters, add throw() specifier.
      	* include/bits/locale_facets.h (__timepunct::_M_name_timepunct,
      	messages::_M_name_messages): Const qualify.
      	* src/locale.cc
      	(locale::_S_once, locale::facet::_S_once): Define.
      	(locale::classic): Move initialization code...
      	(locale::_S_initialize_once): ...here.
      	(locale::_S_initialize): Call _S_initialize_once through
      	__gthread_once.
      	(locale::facet::_S_initialize_once): Initialize _S_c_locale.
      	(locale::facet::_S_get_c_locale): Call _S_initialize_once through
      	__gthread_once before returning _S_c_locale.
      	* src/localename.cc (locale::_Impl::_Impl(facet**, size_t, bool)):
      	Drop unused parameters, add throw() specifier, don't initialize
      	locale::facet::_S_c_locale and _S_c_name.
      
      	* config/locale/generic/messages_members.h:
      	Replace _S_c_locale with _S_get_c_locale().
      	* config/locale/gnu/c_locale.cc: Same.
      	* config/locale/gnu/messages_members.h: Same.
      	* config/locale/gnu/numeric_members.cc: Same.
      	* config/locale/gnu/time_members.cc: Same.
      	* config/os/gnu-linux/ctype_noninline.h: Same.
      	* include/bits/locale_facets.h: Same.
      	* include/bits/locale_facets.tcc: Same.
      	* src/codecvt.cc: Same.
      	* src/ctype.cc: Same.
      
      From-SVN: r72040
      8ae81136
    • Chris Demetriou's avatar
      f-torture.exp (search_for): Rename to... · 910a2080
      Chris Demetriou authored
      2003-10-02  Chris Demetriou  <cgd@broadcom.com>
      
              * lib/f-torture.exp (search_for): Rename to...
              (search_for_re): This.  Also, clean up comments and the
              "regexp" invocation.
      
      From-SVN: r72039
      910a2080
    • Tom Tromey's avatar
      VMClassLoader.java (loadClass): Now native. · d801e245
      Tom Tromey authored
      	* java/lang/VMClassLoader.java (loadClass): Now native.
      	* java/lang/natClassLoader.cc (loadClass): Implement.
      	* prims.cc (_Jv_RunMain): Initialize ClassLoader.
      
      From-SVN: r72038
      d801e245
    • Josef Zlomek's avatar
      * gcc.c-torture/compile/20031002-1.c: New test. · 2a3bf9aa
      Josef Zlomek authored
      From-SVN: r72035
      2a3bf9aa
    • Josef Zlomek's avatar
      combine.c (make_field_assignment): Check whether rtx's code is CONST_INT before using INTVAL. · b9dc9cf1
      Josef Zlomek authored
      	PR/12292
      	* combine.c (make_field_assignment): Check whether rtx's code
      	is CONST_INT before using INTVAL.
      
      From-SVN: r72033
      b9dc9cf1
    • Michael Koch's avatar
      2003-10-02 Michael Koch <konqueror@gmx.de> · 484fe3bf
      Michael Koch authored
      	* java/net/InetAddress.java
      	(zeros): Removed.
      	(ANY_IF): Initalizie in static block.
      	(static): Load library with native methods here and initialize ANY_IF.
      	(isAnyLocalAddress): Check if equal to ANY_IF.
      	(equals): Use addr directly instead of addr1. Simplify for loop.
      	(toString): Rename "result" to "host" and add IP address allways.
      	(getLocalHost): Merged documentation from classpath.
      	* java/net/ServerSocket.java
      	(ServerSocket): New package-private constructor used by java.nio.
      	* java/net/URLConnection.java
      	(getRequestProperties): Check if already connected.
      
      From-SVN: r72032
      484fe3bf
    • Josef Zlomek's avatar
      cgraph.c (cgraph_node): Use INSERT instead of 1 in htab_find_slot_with_hash. · b97e92ed
      Josef Zlomek authored
      	* cgraph.c (cgraph_node): Use INSERT instead of 1 in
      	htab_find_slot_with_hash.
      	(cgraph_node_for_identifier): Use NO_INSERT.
      	(cgraph_remove_node): Use NO_INSERT.
      	(cgraph_varpool_node): Use INSERT.
      	(cgraph_varpool_node_for_identifier): Use NO_INSERT.
      
      From-SVN: r72031
      b97e92ed
    • Michael Koch's avatar
      ByteBufferHelper.java: Rewrote all methods by suggestions from Eric Blake. · a08a2b75
      Michael Koch authored
      2003-10-02  Michael Koch  <konqueror@gmx.de>
      
      	* java/nio/ByteBufferHelper.java:
      	Rewrote all methods by suggestions from Eric Blake.
      
      From-SVN: r72030
      a08a2b75
    • Josef Zlomek's avatar
      Waldek Hebisch <hebisch@math.uni.wroc.pl> PR/12072 · eae216e8
      Josef Zlomek authored
      	Waldek Hebisch <hebisch@math.uni.wroc.pl>
      	PR/12072
      	* varasm.c (compare_constant): Fix thinko.
      
      From-SVN: r72028
      eae216e8
    • Carlo Wood's avatar
      demangle.h (demangle<Allocator>::symbol(char const*)): Decode symbols that... · 4a035cf7
      Carlo Wood authored
      demangle.h (demangle<Allocator>::symbol(char const*)): Decode symbols that start with _GLOBAL_[ID]_ differently...
      
      * include/bits/demangle.h (demangle<Allocator>::symbol(char const*)):
      Decode symbols that start with _GLOBAL_[ID]_ differently: the
      trailing part ends with a terminating zero and is not necessarily an
      encoding.
      * src/demangle.cc (): Same.
      * testsuite/demangle/regression/cw-13.cc: Adjust for new output.
      
      From-SVN: r72027
      4a035cf7
    • Richard Sandiford's avatar
      frv.c (frv_issue_rate): New function. · 28a60850
      Richard Sandiford authored
      	* config/frv/frv.c (frv_issue_rate): New function.
      	(frv_pack_insns): Use it.
      	(TARGET_SCHED_ISSUE_RATE): Define.
      
      From-SVN: r72026
      28a60850
    • Michael Koch's avatar
      Fixed a little mistake that got into last commit. · be4cee68
      Michael Koch authored
      From-SVN: r72025
      be4cee68
    • Paolo Carlini's avatar
      12438.cc: Use __gnu_test::try_named_locale(""). · 86b4ab73
      Paolo Carlini authored
      2003-10-02  Paolo Carlini  <pcarlini@unitus.it>
      
      	* testsuite/22_locale/locale/cons/12438.cc: Use
      	__gnu_test::try_named_locale("").
      
      From-SVN: r72024
      86b4ab73
    • Michael Koch's avatar
      2003-10-02 Michael Koch <konqueror@gmx.de> · cb9b7827
      Michael Koch authored
      	* java/net/URL.java
      	(DEFAULT_SEARCH_PATH): New static variable.
      	(ph_cache): Made it a HashMap.
      	(getURLStreamHandler): Rename propVal to ph_search_path and use
      	DEFAULT_SEARCH_PATH.
      
      From-SVN: r72023
      cb9b7827
    • Jakub Jelinek's avatar
      * g++.dg/opt/cond1.C: New test. · 7485f79f
      Jakub Jelinek authored
      From-SVN: r72022
      7485f79f
    • Steven Bosscher's avatar
      mcore.c: Convert to ISO C90 function declarations and definitions. · 08903e08
      Steven Bosscher authored
      * config/mcore/mcore.c: Convert to ISO C90 function declarations and definitions.
      * config/mcore/mcore.h: Likewise.
      * config/mcore/mcore-protos.h: Likewise.
      
      From-SVN: r72020
      08903e08
    • Michael Koch's avatar
      2003-10-02 Michael Koch <konqueror@gmx.de> · 16aae3d2
      Michael Koch authored
      	* javax/swing/table/AbstractTableModel.java
      	(findColumnName): Prevent from NullPointerException if argument
      	columnName is null.
      
      2003-10-02  Michael Koch  <konqueror@gmx.de>
      
      	* javax/swing/table/AbstractTableModel.java:
      	This patch is based on a patch done by Arnaud Vandyck
      	<arnaud.vandyck@ulg.ac.be>.
      	(getColumnName): Fixed method documentation.
      	(findColumn): Likewise.
      	(getColumnClass): Likewise.
      	(isCellEditable): Likewise.
      	(setValueAt): Likewise.
      	(addTableModelListener): Likewise.
      	(removeTableModelListener): Likewise.
      	(getTableModelListeners): New method.
      
      2003-10-02  Michael Koch  <konqueror@gmx.de>
      
      	* javax/swing/table/AbstractTableModel.java:
      	Reformated.
      
      From-SVN: r72019
      16aae3d2
    • Richard Sandiford's avatar
      frv.c (frv_use_dfa_pipeline_interface): New function. · ffb344c1
      Richard Sandiford authored
      	* config/frv/frv.c (frv_use_dfa_pipeline_interface): New function.
      	(TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE): Define.
      
      From-SVN: r72018
      ffb344c1
    • Per Bothner's avatar
      cpplib.c (_cpp_pop_buffer): Do generate a _cpp_do_file_change callback even... · 40de9f76
      Per Bothner authored
      cpplib.c (_cpp_pop_buffer): Do generate a _cpp_do_file_change callback even when popping the main file.
      
      
      	* cpplib.c (_cpp_pop_buffer):  Do generate a _cpp_do_file_change
      	callback even when popping the main file.
      
      	* cpplib.c (cpp_push_buffer):  Since we no longer set return_at_eof,
      	remove the unused return_at_eof parameter.
      	* cppfiles.c, cpplib.c, cppmacro.c, cpppch.c, fix-header.c:
      	Update callers of cpp_push_buffer.
      
      From-SVN: r72016
      40de9f76
Loading