OSDN Git Service

pf3gnuchains/gcc-fork.git
20 years ago2003-10-04 Paolo Carlini <pcarlini@unitus.it>
paolo [Sat, 4 Oct 2003 07:52:02 +0000 (07:52 +0000)]
2003-10-04  Paolo Carlini  <pcarlini@unitus.it>

PR libstdc++/12206
* include/bits/fstream.tcc (imbue): In case a codecvt facet
is not available, set _M_codecvt = 0.
* testsuite/27_io/basic_filebuf/imbue/12206.cc: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72087 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-10-03 H.J. Lu <hongjiu.lu@intel.com>
hjl [Sat, 4 Oct 2003 04:54:17 +0000 (04:54 +0000)]
2003-10-03  H.J. Lu  <hongjiu.lu@intel.com>

* ltconfig (sys_lib_search_path_spec): Fix a typo for HPUX.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72086 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago* ggc-page.c: (ggc_pch_write_object) replace fseek() with fwrite()
bowdidge [Sat, 4 Oct 2003 01:45:51 +0000 (01:45 +0000)]
* ggc-page.c: (ggc_pch_write_object) replace fseek() with fwrite()
  in PCH generation, avoiding
  too-frequent flushes when writing to NFS file system

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72085 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoDaily bump.
gccadmin [Sat, 4 Oct 2003 00:16:08 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72083 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-10-03 Ziemowit Laski <zlaski@apple.com>
zlaski [Fri, 3 Oct 2003 22:49:54 +0000 (22:49 +0000)]
2003-10-03  Ziemowit Laski  <zlaski@apple.com>

        * objc/objc-act.c (lookup_category): Mark as 'inline'.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72081 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago[gcc]
zlaski [Fri, 3 Oct 2003 22:24:03 +0000 (22:24 +0000)]
[gcc]
2003-10-03  Alexander Malmberg  <alexander@malmberg.org>
            Ziemowit Laski  <zlaski@apple.com>

        * objc/objc-act.c (add_method_to_hash_list, lookup_category):
        New functions.
        (lookup_method_in_hash_lists): New parameter indicating whether
        we are messaging 'Class' or 'id'.
        (check_duplicates): Likewise; do not assume all methods will
        be either class or instance methods.
        (generate_category, finish_class): Use lookup_category().
        (add_method): Use add_method_to_hash_list(); insert instance
        methods of root classes into the global class method hash table.
        (add_category): Use lookup_category(); avoid constructing
        duplicate categories.
        (really_start_method): Add method to corresponding @interface,
        if not already there (and if the @interface exists).
        (finish_message_expr, finish_objc): Adjust calls to
        check_duplicates().

[gcc/testsuite]
2003-10-03  Alexander Malmberg  <alexander@malmberg.org>
            Ziemowit Laski  <zlaski@apple.com>

        * objc.dg/method-6.m ('starboard'): Move prototype from 'Base' to
        'Derived', so that it is never considered a class method; add
        new warning for '+port' method ambiguity.
        * objc.dg/method-12.m: Include <objc/objc.h> instead of
        <objc/objc-api.h> (needed on Mac OS X).
        * objc.dg/method-13.m: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72080 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago PR optimization/9325, PR java/6391
sayle [Fri, 3 Oct 2003 21:33:57 +0000 (21:33 +0000)]
PR optimization/9325, PR java/6391
* fold-const.c (fold_convert): For floating point to integer
conversions, return the maximum/minimum representable integer
value if the real constant overflows the destination type.
* tree.c (real_value_from_int_cst): Allow the type to be NULL,
meaning don't truncate the result to a floating point mode.
Simplify the logic by calling real_from_integer directly.
* simplify-rtx.c (simplify_unary_operation):  Implement the
same semantics for folding floating point to integer conversions
in RTL.

* gcc.c-torture/execute/20031003-1.c: New test case.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72079 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-10-03 Chris Demetriou <cgd@broadcom.com>
cgd [Fri, 3 Oct 2003 21:13:13 +0000 (21:13 +0000)]
2003-10-03  Chris Demetriou  <cgd@broadcom.com>

        * config/mips/mips.c (mips_emit_prefetch): Restructure
        to avoid use of arrays, handle indexed prefetch.
        * config/mips/mips.h (ISA_HAS_FP4, ISA_HAS_PREFETCH): Update comments.
        (ISA_HAS_PREFETCHX): New deffine.
        * config/mips/mips.md ("type" attr): Add new "prefetchx" value,
        update comments.
        (prefetch_indexed_di, prefetch_indexed_si): New insns.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72077 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * decl.c (struct cp_binding_level): Move to name-lookup.h
gdr [Fri, 3 Oct 2003 20:27:05 +0000 (20:27 +0000)]
* decl.c (struct cp_binding_level): Move to name-lookup.h
(current_binding_level): Likewise.
(class_binding_level): Likewise.
* cp-tree.h (enum scope_kind): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72076 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago* configure: Rebuild.
jsturm [Fri, 3 Oct 2003 19:38:05 +0000 (19:38 +0000)]
* configure: Rebuild.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72075 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * configure.in: Remove NO_GETENV definition for win32.
hboehm [Fri, 3 Oct 2003 18:43:06 +0000 (18:43 +0000)]
* configure.in: Remove NO_GETENV definition for win32.
* mach_dep.c (GC_generic_push_regs): Prevent tail call optimization.
* misc.c (GC_init_inner): Call GC_thr_init for win32.
  (GC_set_warn_proc): Add assertion.
* win32_threads.c: Import 6.3alpha2 version.
* include/private/gc_priv.h: Add support for EMPTY_GETENV_RESULTS.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72074 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago PR optimization/12289
sayle [Fri, 3 Oct 2003 17:59:37 +0000 (17:59 +0000)]
PR optimization/12289
* calls.c (emit_call_1): Pretend to have popped the arguments
to noreturn and longjmp functions instead of ignoring them.
(expand_call): Don't adjust stack_pointer_dela while
inhibit_defer_pop is set.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72073 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago PR bootstrap/12276
schwab [Fri, 3 Oct 2003 17:49:39 +0000 (17:49 +0000)]
PR bootstrap/12276
* configure.in: Check for libunwind on the host only if building
a native compiler.
* configure: Regenerated.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72072 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-10-03 Paolo Carlini <pcarlini@unitus.it>
paolo [Fri, 3 Oct 2003 15:42:08 +0000 (15:42 +0000)]
2003-10-03  Paolo Carlini  <pcarlini@unitus.it>

* unwind-pe.h (read_encoded_value_with_base): Constify u and
its inizialization cast.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72071 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * name-lookup.c (binding_entry_free): Nullify name and type
gdr [Fri, 3 Oct 2003 10:59:52 +0000 (10:59 +0000)]
    * name-lookup.c (binding_entry_free): Nullify name and type
        fields.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72069 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoAdded a missing ChangeLog Entry:
aph [Fri, 3 Oct 2003 10:04:40 +0000 (10:04 +0000)]
Added a missing ChangeLog Entry:

2003-08-20  Andrew Haley  <aph@redhat.com>

        * except.c (prepare_eh_table_type): Use new encoding for exception
        handlers when using -fno-assume-compiled.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72068 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago PR target/12485
rsandifo [Fri, 3 Oct 2003 06:55:02 +0000 (06:55 +0000)]
PR target/12485
* config/mips/mips.c (mips_load_got): GOT accesses can't trap.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72066 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoFix typo
mmitchel [Fri, 3 Oct 2003 01:22:58 +0000 (01:22 +0000)]
Fix typo

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72064 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-10-02 Harald Boehme <boehme@informatik.hu-berlin.de>
bkoz [Fri, 3 Oct 2003 00:36:45 +0000 (00:36 +0000)]
2003-10-02  Harald Boehme  <boehme@informatik.hu-berlin.de>

PR libstdc++/12451
* libsupc++/cxxabi.h: Move forward declaration of __class_type_info.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72059 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoFix typo
mmitchel [Fri, 3 Oct 2003 00:28:52 +0000 (00:28 +0000)]
Fix typo

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72058 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago PR optimization/12180
mmitchel [Fri, 3 Oct 2003 00:23:30 +0000 (00:23 +0000)]
PR optimization/12180
* tree-inline.c (inline_forbidden_p_1): Do not permit inlining of
functions containing calls to

PR optimization/12180
* gcc.dg/20031002-1.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72057 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoDaily bump.
gccadmin [Fri, 3 Oct 2003 00:16:07 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72055 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-10-02 Chris Demetriou <cgd@broadcom.com>
cgd [Thu, 2 Oct 2003 23:45:05 +0000 (23:45 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72053 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago PR c++/12486
mmitchel [Thu, 2 Oct 2003 23:14:01 +0000 (23:14 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72052 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-10-02 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Thu, 2 Oct 2003 23:06:13 +0000 (23:06 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72050 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-10-02 Paolo Carlini <pcarlini@unitus.it>
paolo [Thu, 2 Oct 2003 20:37:06 +0000 (20:37 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72048 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-10-02 Guilhem Lavaux <guilhem@kaffe.org>
mkoch [Thu, 2 Oct 2003 19:29:31 +0000 (19:29 +0000)]
2003-10-02  Guilhem Lavaux  <guilhem@kaffe.org>

* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72047 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * strerror.c: Revert last change. Declare static sys_nerr
drow [Thu, 2 Oct 2003 19:06:29 +0000 (19:06 +0000)]
* strerror.c: Revert last change.  Declare static sys_nerr
and sys_errlist using different names.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72046 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-10-02 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Thu, 2 Oct 2003 19:02:58 +0000 (19:02 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72045 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-10-02 Thomas Fitzsimmons <fitzsim@redhat.com>
fitzsim [Thu, 2 Oct 2003 18:34:56 +0000 (18:34 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72043 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agocorrect comment
jason [Thu, 2 Oct 2003 17:43:57 +0000 (17:43 +0000)]
correct comment

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72042 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * system.h: Poison macros obsoleted by earlier patch.
zack [Thu, 2 Oct 2003 17:22:57 +0000 (17:22 +0000)]
* system.h: Poison macros obsoleted by earlier patch.
* config/cris/cris.c: C90-ify a function definition.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72041 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-10-02 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Thu, 2 Oct 2003 16:56:39 +0000 (16:56 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72040 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-10-02 Chris Demetriou <cgd@broadcom.com>
cgd [Thu, 2 Oct 2003 15:57:58 +0000 (15:57 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72039 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * java/lang/VMClassLoader.java (loadClass): Now native.
tromey [Thu, 2 Oct 2003 15:34:28 +0000 (15:34 +0000)]
* java/lang/VMClassLoader.java (loadClass): Now native.
* java/lang/natClassLoader.cc (loadClass): Implement.
* prims.cc (_Jv_RunMain): Initialize ClassLoader.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72038 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * gcc.c-torture/compile/20031002-1.c: New test.
zlomek [Thu, 2 Oct 2003 15:26:33 +0000 (15:26 +0000)]
* gcc.c-torture/compile/20031002-1.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72035 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago PR/12292
zlomek [Thu, 2 Oct 2003 15:17:34 +0000 (15:17 +0000)]
PR/12292
* combine.c (make_field_assignment): Check whether rtx's code
is CONST_INT before using INTVAL.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72033 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-10-02 Michael Koch <konqueror@gmx.de>
mkoch [Thu, 2 Oct 2003 15:17:13 +0000 (15:17 +0000)]
2003-10-02  Michael Koch  <konqueror@gmx.de>

* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72032 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * cgraph.c (cgraph_node): Use INSERT instead of 1 in
zlomek [Thu, 2 Oct 2003 15:11:40 +0000 (15:11 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72031 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-10-02 Michael Koch <konqueror@gmx.de>
mkoch [Thu, 2 Oct 2003 15:02:32 +0000 (15:02 +0000)]
2003-10-02  Michael Koch  <konqueror@gmx.de>

* java/nio/ByteBufferHelper.java:
Rewrote all methods by suggestions from Eric Blake.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72030 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago Waldek Hebisch <hebisch@math.uni.wroc.pl>
zlomek [Thu, 2 Oct 2003 14:47:51 +0000 (14:47 +0000)]
Waldek Hebisch <hebisch@math.uni.wroc.pl>
PR/12072
* varasm.c (compare_constant): Fix thinko.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72028 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago* include/bits/demangle.h (demangle<Allocator>::symbol(char const*)):
carlo [Thu, 2 Oct 2003 14:29:26 +0000 (14:29 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72027 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/frv/frv.c (frv_issue_rate): New function.
rsandifo [Thu, 2 Oct 2003 12:26:39 +0000 (12:26 +0000)]
* config/frv/frv.c (frv_issue_rate): New function.
(frv_pack_insns): Use it.
(TARGET_SCHED_ISSUE_RATE): Define.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72026 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoFixed a little mistake that got into last commit.
mkoch [Thu, 2 Oct 2003 12:16:52 +0000 (12:16 +0000)]
Fixed a little mistake that got into last commit.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72025 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-10-02 Paolo Carlini <pcarlini@unitus.it>
paolo [Thu, 2 Oct 2003 12:16:31 +0000 (12:16 +0000)]
2003-10-02  Paolo Carlini  <pcarlini@unitus.it>

* testsuite/22_locale/locale/cons/12438.cc: Use
__gnu_test::try_named_locale("").

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72024 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-10-02 Michael Koch <konqueror@gmx.de>
mkoch [Thu, 2 Oct 2003 12:14:44 +0000 (12:14 +0000)]
2003-10-02  Michael Koch  <konqueror@gmx.de>

* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72023 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * g++.dg/opt/cond1.C: New test.
jakub [Thu, 2 Oct 2003 12:11:45 +0000 (12:11 +0000)]
* g++.dg/opt/cond1.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72022 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago* config/mcore/mcore.c: Convert to ISO C90 function declarations and definitions.
nickc [Thu, 2 Oct 2003 10:48:54 +0000 (10:48 +0000)]
* config/mcore/mcore.c: Convert to ISO C90 function declarations and definitions.
* config/mcore/mcore.h: Likewise.
* config/mcore/mcore-protos.h: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72020 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-10-02 Michael Koch <konqueror@gmx.de>
mkoch [Thu, 2 Oct 2003 09:37:04 +0000 (09:37 +0000)]
2003-10-02  Michael Koch  <konqueror@gmx.de>

* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72019 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/frv/frv.c (frv_use_dfa_pipeline_interface): New function.
rsandifo [Thu, 2 Oct 2003 08:22:02 +0000 (08:22 +0000)]
* config/frv/frv.c (frv_use_dfa_pipeline_interface): New function.
(TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE): Define.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72018 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * cpplib.c (_cpp_pop_buffer): Do generate a _cpp_do_file_change
bothner [Thu, 2 Oct 2003 07:30:34 +0000 (07:30 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72016 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * c-opts.c (c_common_post_options): Don't call cpp_find_main_file yet.
bothner [Thu, 2 Oct 2003 07:25:03 +0000 (07:25 +0000)]
* c-opts.c (c_common_post_options):  Don't call cpp_find_main_file yet.
(c_common_parse_file):  No longer need to call cpp_read_main_file
when file_index > 0 (as in multi-file or server compiation).
(finish_options):  Change to <built-in> is an LC_ENTER, not LC_RENAME
as this now happens before cpp_push_main_file.
(push_command_line_include):  When done with options, pass LC_LEAVE
instead of LC_RENAME to cpp_change_file and finally cpp_push_main_file.
(fe_file_change):  Handle NULL new_map, and simplify.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72015 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * cppinit.c (cpp_read_main_file): Split into two functions:
bothner [Thu, 2 Oct 2003 07:23:27 +0000 (07:23 +0000)]
* cppinit.c (cpp_read_main_file):  Split into two functions:
Distribute _cpp_stack_file call over the two functions.
(cpp_find_main_file):  New function.
Don't call _cpp_do_file_change even if working_directory flag set.
(cpp_push_main_file):  New function.
* cppfiles.c (_cpp_find_failed):  New helper function.
(find_file):  Made non-static and renamed to _cpp_find_file.
(_cpp_stack_file):  No longer needed.  But note the following.
(stack_file):  Made non-static and renamed to _cpp_stack_file.
* fix-header.c (cpp_read_main_file):  Replace cpp_read_main_file
call with calls to cpp_find_main_file and cpp_push_main_file.
(search_path_head):  If there is no current buffer, use main_file.
* cpphash.h:  Update function declarations.
* cpplib.h:  Update function declarations.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72014 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * cpplex.c (_cpp_get_fresh_line): Revert my no-longer-needed
bothner [Thu, 2 Oct 2003 07:20:38 +0000 (07:20 +0000)]
* cpplex.c (_cpp_get_fresh_line):  Revert my no-longer-needed
08-28 change, since we're never called with a NULL buffer.
(_cpp_lex_direct):  Likewise.
* cpptrad.c (_cpp_read_logical_line_trad):  Likewise.
Return false if buffer is NULL at end.

* cpplex.c (_cpp_get_fresh_line):  Return value now just depends on
whether pfile->buffer is NULL after pop, ignoring return_at_eof.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72013 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago Fix PR libgcj/12475
bryce [Thu, 2 Oct 2003 07:10:34 +0000 (07:10 +0000)]
Fix PR libgcj/12475
* gnu/gcj/runtime/StackTrace.java (finalize): Declare.
* gnu/gcj/runtime/natStackTrace.cc (finalize): New. Free "addrs".

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72012 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * c-lex.c (fe_file_change): Handle a NULL new_map.
bothner [Thu, 2 Oct 2003 07:03:42 +0000 (07:03 +0000)]
* c-lex.c (fe_file_change):  Handle a NULL new_map.
* fix-header.c (cb_file_change):  Likewise.
* c-ppoutput.c (pp_file_change):  Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72011 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * c-lex.c (src_line): Remove unneeded static variable.
bothner [Thu, 2 Oct 2003 06:54:46 +0000 (06:54 +0000)]
* c-lex.c (src_line):   Remove unneeded static variable.
(cb_line_change):  Set input_line directly, instead of src_line.
(get_non_padding_token):  We no longer need to compensate for the
"horrible things" the C++ front-end does with the current line number,

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72010 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * target.h (init_libfuncs): New hook.
zack [Thu, 2 Oct 2003 00:44:29 +0000 (00:44 +0000)]
* target.h (init_libfuncs): New hook.
* target-def.h: Default TARGET_INIT_BUILTINS and
TARGET_INIT_LIBFUNCS to hook_void_void.  Add
TARGET_INIT_LIBFUNCS to TARGET_INITIALIZER.
* builtins.c (default_init_builtins): Delete.
* expr.h (default_init_builtins): Delete prototype.
* doc/tm.texi: Document TARGET_INIT_LIBFUNCS and US_SOFTWARE_GOFAST.
Tweak documentation of TARGET_FLOAT_LIB_COMPARE_RETURNS_BOOL.
Remove documentation of INIT_TARGET_OPTABS, MULSI3_LIBCALL,
DIVSI3_LIBCALL, UDIVSI3_LIBCALL, MODSI3_LIBCALL, UMODSI3_LIBCALL,
MULDI3_LIBCALL, DIVDI3_LIBCALL, UDIVDI3_LIBCALL, MODDI3_LIBCALL,
and UMODDI3_LIBCALL,

* Makefile.in (optabs.o): Depends on target.h.
* defaults.h: Provide default for FLOAT_LIB_COMPARE_RETURNS_BOOL.
* optabs.c: Include target.h.
(prepare_float_lib_cmp): No need for #ifdef around use of
FLOAT_LIB_COMPARE_RETURNS_BOOL.
(set_optab_libfunc): New function.
(init_optabs): Delete use of all *_LIBCALL defines.
Call targetm.init_libfuncs not INIT_TARGET_OPTABS.
* optabs.h: Prototype set_optab_libfunc.

* config.gcc: Remove all references to pa/long_double.h,
ia64/hpux_longdouble.h, and gofast.h.
(mips-*-*): When --enable-gofast, just add US_SOFTWARE_GOFAST
to tm_defines; don't set INIT_SUBTARGET_OPTABS or change tm_file.

* config/alpha/alpha.c, config/c4x/c4x.c, config/cris/cris.c
* config/frv/frv.c, config/h8300/h8300.c, config/i860/i860.c
* config/ia64/ia64.c, config/ip2k/ip2k.c, config/m68hc11/m68hc11.c
* config/mips/mips.c, config/pa/pa.c, config/rs6000/rs6000.c
* config/sparc/sparc.c, config/vax/vax.c:
Provide a definition for TARGET_INIT_LIBFUNCS.  Where
necessary, include optabs.h, libfuncs.h, and/or config/gofast.h.

* config/alpha/unicosmk.h, config/alpha/vms.h, config/c4x/c4x.h
* config/avr/avr.h, config/cris/cris.h, config/frv/frv.h
* config/h8300/h8300.h, config/i860/i860.h, config/ip2k/ip2k.h
* config/iq2000/iq2000.h, config/m68hc11/m68hc11.h, config/mips/mips.h
* config/rs6000/aix.h, config/rs6000/sysv4.h, config/sparc/elf.h
* config/sparc/lite.h, config/sparc/netbsd-elf.h, config/sparc/sol2.h
* config/sparc/sparc.h, config/v850/v850.h, config/vax/vax.h
* config/vax/elf.h: Don't define or use INIT_TARGET_OPTABS,
INIT_SUBTARGET_OPTABS, or any *_LIBCALL macros.

* config/ia64/hpux.h: Redefine INTEL_EXTENDED_IEEE_FORMAT to 0.
Set TARGET_INIT_LIBFUNCS and FLOAT_LIB_COMPARE_RETURNS_BOOL here.
* config/pa/pa-hpux.h: Define LONG_DOUBLE_TYPE_SIZE,
HPUX_LONG_DOUBLE_LIBRARY, and FLOAT_LIB_COMPARE_RETURNS_BOOL here.
* config/ia64/hpux_longdouble.h, config/pa/long_double.h: Delete.

* config/rs6000/xcoff.h: Don't define RS6000_ITRUNC nor RS6000_UITRUNC.
* config/sparc/sparc.h: Default SUN_CONVERSION_LIBFUNCS and
SUN_INTEGER_MULTIPLY_64 to 0.
* config/sparc/sol2.h: Redefine SUN_CONVERSION_LIBFUNCS and
SUN_INTEGER_MULTIPLY_64 to 1.
* config/sparc/elf.h: Redefine SUN_CONVERSION_LIBFUNCS and
SUN_INTEGER_MULTIPLY_64 to 0.
* config/sparc/lite.h, config/sparc/liteelf.h, config/sparc/sp86x-elf.h:
Define US_SOFTWARE_GOFAST.
* config/vax/vax.h: Default TARGET_ELF to 0.
* config/vax/elf.h: Redefine TARGET_ELF to 1.

* config/gofast.h: Don't define any macros here.  Provide one
static function, gofast_maybe_init_libfuncs, which does what
INIT_GOFAST_LIBFUNCS used to do but only if US_SOFTWARE_GOFAST
is already defined.  Do not clear negation libfuncs.  Do
not mess with HFmode, XFmode, or TFmode libfuncs.

* config/avr/avr.c (avr_init_once): #if 0 out; mark FIXME.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72009 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoDaily bump.
gccadmin [Thu, 2 Oct 2003 00:16:06 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72007 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago/tmp/cvs001644
kcook [Thu, 2 Oct 2003 00:07:50 +0000 (00:07 +0000)]
/tmp/cvs001644

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72005 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/mips/xm-iris5.h: Remove, unnecessary.
ro [Wed, 1 Oct 2003 23:51:10 +0000 (23:51 +0000)]
* config/mips/xm-iris5.h: Remove, unnecessary.
* config.build (mips-sgi-irix5*): Remove.
(mips-sgi-irix6*o32): Likewise.
* config.gcc (mips-sgi-irix6*o32): Remove xm_file.
(mips-sgi-irix5cross64): Likewise.
(mips-sgi-irix5*): Likewise.
* config.host (mips-sgi-irix5*): Remove.
(mips-sgi-irix6*o32): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72003 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * dbxout.c (dbxout_fptype_value): Delete.
zack [Wed, 1 Oct 2003 23:37:30 +0000 (23:37 +0000)]
* dbxout.c (dbxout_fptype_value): Delete.
(dbxout_type): Emit R3 for all COMPLEX_TYPEs.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72002 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * strerror.c: Don't provide or reference sys_errlist if
drow [Wed, 1 Oct 2003 23:12:37 +0000 (23:12 +0000)]
* strerror.c: Don't provide or reference sys_errlist if
strerror is available.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72001 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago* output.h (compute_reloc_for_constant): Declare.
aoliva [Wed, 1 Oct 2003 22:57:57 +0000 (22:57 +0000)]
* output.h (compute_reloc_for_constant): Declare.
* varasm.c (compute_reloc_for_constant): Extract from...
(output_addressed_constants): ... here.  Adjust all callers.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72000 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * aclocal.m4: Add hpux10* and hpux11.00 to /dev/zero blacklist.
danglin [Wed, 1 Oct 2003 22:52:09 +0000 (22:52 +0000)]
* aclocal.m4: Add hpux10* and hpux11.00 to /dev/zero blacklist.
* configure: Rebuilt.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71999 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * gnu/gcj/runtime/FirstThread.java (getMain): Fixed indentation.
tromey [Wed, 1 Oct 2003 22:41:10 +0000 (22:41 +0000)]
* gnu/gcj/runtime/FirstThread.java (getMain): Fixed indentation.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71998 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * fold-const.c (make_range): When handling unsigned, don't reverse
kenner [Wed, 1 Oct 2003 20:48:57 +0000 (20:48 +0000)]
* fold-const.c (make_range): When handling unsigned, don't reverse
range if high bound is zero.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71991 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * linkage.m4 (GLIBCXX_CHECK_STDLIB_DECL_AND_LINKAGE_0): Define.
ro [Wed, 1 Oct 2003 20:45:59 +0000 (20:45 +0000)]
* linkage.m4 (GLIBCXX_CHECK_STDLIB_DECL_AND_LINKAGE_0): Define.
(GLIBCXX_CHECK_STDLIB_SUPPORT): Use it to test for lrand48
instead of drand48.
* acconfig.h (HAVE_DRAND48): Renamed to HAVE_LRAND48.
* crossconfig.m4 (*-freebsd*): Define HAVE_LRAND48 instead of
HAVE_DRAND48.
* config.h.in, configure: Regenerate.
* include/bits/stl_algo.h: Use _GLIBCXX_HAVE_LRAND48 to guard
lrand48 use.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71990 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoconfig/frv/frv.h (PREDICATE_CODES): Added
aoliva [Wed, 1 Oct 2003 20:15:43 +0000 (20:15 +0000)]
config/frv/frv.h (PREDICATE_CODES): Added
condexec_si_media_operator, condexec_sf_add_operator and
condexec_sf_conv_operator.  Removed condexec_sf_binary_operator
and condexec_sf_unary_operator.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71989 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * aclocal.m4: Add ultrix* to /dev/zero blacklist.
danglin [Wed, 1 Oct 2003 19:25:36 +0000 (19:25 +0000)]
* aclocal.m4: Add ultrix* to /dev/zero blacklist.
* configure: Rebuilt.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71987 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * except.h (MUST_USE_SJLJ_EXCEPTIONS): Revert 2003-09-23 change.
ro [Wed, 1 Oct 2003 18:54:46 +0000 (18:54 +0000)]
* except.h (MUST_USE_SJLJ_EXCEPTIONS): Revert 2003-09-23 change.
Allow override.
* doc/tm.texi (MUST_USE_SJLJ_EXCEPTIONS): Document.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71985 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-10-01 H.J. Lu <hongjiu.lu@intel.com>
hjl [Wed, 1 Oct 2003 17:11:29 +0000 (17:11 +0000)]
2003-10-01  H.J. Lu  <hongjiu.lu@intel.com>

* configure.in: Check if $MAKEINFO is missing.
* configure: Regenerated.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71983 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-10-01 Andreas Tobler <a.tobler@schweiz.ch>
andreast [Wed, 1 Oct 2003 17:11:02 +0000 (17:11 +0000)]
2003-10-01  Andreas Tobler  <a.tobler@schweiz.ch>

* testsuite/lib/libffi-dg.exp: Set LD_LIBRARY_PATH_64 for
SPARC64. Cleanup whitespaces.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71982 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-10-01 Nathan Myers <ncm@cantrip.org>
paolo [Wed, 1 Oct 2003 16:58:38 +0000 (16:58 +0000)]
2003-10-01  Nathan Myers  <ncm@cantrip.org>

* include/bits/locale_facets.tcc (time_put::put): Avoid
expensive *__s++, in favor of *__s, ++__s.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71980 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-10-01 Andrew Haley <aph@redhat.com>
aph [Wed, 1 Oct 2003 16:22:13 +0000 (16:22 +0000)]
2003-10-01  Andrew Haley  <aph@redhat.com>

        * jcf-parse.c (java_parse_file): Write otable and atable.
        * java-tree.h (atable_methods): New.
        (atable_decl): New.
        (atable_syms_decl): New.
        (enum java_tree_index): Add JTI_ATABLE_METHODS, JTI_ATABLE_DECL,
        JTI_ATABLE_SYMS_DECL.  Rename JTI_METHOD_SYMBOL* to JTI_SYMBOL*.
        (symbol_*type): Rename method_symbol* to symbol*type.
        (emit_offset_symbol_table): Delete.
        (emit_symbol_table): New.
        (get_symbol_table_index): New.
        (atable_type): New.
        * expr.c (build_field_ref): Handle flag_indirect_dispatch.
        (build_known_method_ref): Likewise.
        (get_symbol_table_index): Rename from get_offset_table_index.
        Parameterize to allow re-use by differing types of symbol table.
        (build_invokevirtual): Pass table to get_offset_table_index.
        * decl.c (java_init_decl_processing): Push types and decls for
        atable and atable_syyms.
        * class.c (build_static_field_ref): Handle flag_indirect_dispatch.
        (make_class_data): Add new fields atable and atable_syms.
        (emit_symbol_table): Rename from emit_offset_symbol_table.
        Parameterize to allow re-use by different types of symbol table.
        (build_symbol_entry): Renamed from build_method_symbols_entry.

2003-10-01  Andrew Haley  <aph@redhat.com>

        * java/lang/natClass.cc (initializeClass): Check for otable and
        atable.
        (_Jv_LinkOffsetTable): Check for existence of atable.  Rewrite
        loops using for().  Search superinterfaces.  Check for fields as
        well as methods.  Initialize atable as well as otable: check for
        static methods as well as virtual methods.
        * java/lang/Class.h (struct _Jv_AddressTable): New.
        (atable): New.
        (atable_syms): New.
        * include/jvm.h (_Jv_equalUtf8Consts): constify.
        * prims.cc (_Jv_equalUtf8Consts): constify.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71979 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-10-01 Paolo Carlini <pcarlini@unitus.it>
paolo [Wed, 1 Oct 2003 15:43:07 +0000 (15:43 +0000)]
2003-10-01  Paolo Carlini  <pcarlini@unitus.it>

* include/bits/locale_facets.tcc (time_put::put): Minor
tweak to the previous commit.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71977 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-10-01 Paolo Carlini <pcarlini@unitus.it>
paolo [Wed, 1 Oct 2003 14:32:05 +0000 (14:32 +0000)]
2003-10-01  Paolo Carlini  <pcarlini@unitus.it>

PR libstdc++/12439
* include/bits/locale_facets.tcc (time_put::put): Deal
with the three issues pointed out by the PR.
* testsuite/22_locale/time_put/put/char/12439_1.cc: New.
* testsuite/22_locale/time_put/put/char/12439_3.cc: New.
* testsuite/22_locale/time_put/put/wchar_t/12439_1.cc: New.
* testsuite/22_locale/time_put/put/wchar_t/12439_2.cc: New.
* testsuite/22_locale/time_put/put/wchar_t/12439_3.cc: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71976 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/sparc/linux.h (LINK_GCC_C_SEQUENCE_SPEC): Undefine
jakub [Wed, 1 Oct 2003 12:55:41 +0000 (12:55 +0000)]
* config/sparc/linux.h (LINK_GCC_C_SEQUENCE_SPEC): Undefine
before redefining.
* config/sparc/linux64.h (LINK_GCC_C_SEQUENCE_SPEC): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71973 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/cris/cris-protos.h, config/cris/cris.c: Convert to ISO
hp [Wed, 1 Oct 2003 12:43:23 +0000 (12:43 +0000)]
* config/cris/cris-protos.h, config/cris/cris.c: Convert to ISO
C90 function declarations and definitions.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71972 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config.gcc (cris-*-linux*): Revert mistaken commit.
neroden [Wed, 1 Oct 2003 11:14:01 +0000 (11:14 +0000)]
* config.gcc (cris-*-linux*): Revert mistaken commit.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71970 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago PR optimization/11753
ebotcazou [Wed, 1 Oct 2003 06:08:35 +0000 (06:08 +0000)]
PR optimization/11753
* config/sparc/sparc.md (length attribute) [fcc branch]: Add 1 to
the length in the non-V9 case.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71968 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * dwarf2out.c (expand_builtin_init_dwarf_reg_sizes): Honor
rth [Wed, 1 Oct 2003 06:01:47 +0000 (06:01 +0000)]
    * dwarf2out.c (expand_builtin_init_dwarf_reg_sizes): Honor
        DWARF_ALT_FRAME_RETURN_COLUMN.
        * unwind-dw2.c (dwarf_reg_size_table): Expand by one.
        (_Unwind_GetGR, _Unwind_SetGR): Validate lookup column.
        (uw_frame_state_for): Return end-of-stack for null return address.
        * doc/tm.texi (DWARF_ALT_FRAME_RETURN_COLUMN): Add.

        * config/alpha/alpha.c (alpha_sa_mask): Add r31 for eh_return.
        (alpha_expand_prologue): Store a zero for it.
        (alpha_expand_epilogue): Don't reload it.
        * config/alpha/alpha.h (DWARF_ALT_FRAME_RETURN_COLUMN): New.
        * config/alpha/linux.h (MD_FALLBACK_FRAME_STATE_FOR): Use column 64
        for the sigframe return address.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71967 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoDaily bump.
gccadmin [Wed, 1 Oct 2003 00:16:08 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71963 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoAdd note about PR 6222 fixed by prior patch
ghazi [Tue, 30 Sep 2003 23:06:14 +0000 (23:06 +0000)]
Add note about PR 6222 fixed by prior patch

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71961 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoAdd PR 9200 to prior patch
ghazi [Tue, 30 Sep 2003 23:01:17 +0000 (23:01 +0000)]
Add PR 9200 to prior patch

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71960 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * decl.c (duplicate_decls): Copy DECL_SAVED_INSNS too.
rth [Tue, 30 Sep 2003 22:58:39 +0000 (22:58 +0000)]
    * decl.c (duplicate_decls): Copy DECL_SAVED_INSNS too.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71959 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoConvert to ISO C90 prototypes.
kcook [Tue, 30 Sep 2003 21:49:01 +0000 (21:49 +0000)]
Convert to ISO C90 prototypes.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71957 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-09-30 Kelley Cook <kelleycoook@wideopenwest.com>
kcook [Tue, 30 Sep 2003 21:28:09 +0000 (21:28 +0000)]
2003-09-30  Kelley Cook  <kelleycoook@wideopenwest.com>

* config/i386/cygwin1.c: Convert to ISO C90 prototypes.
* config/i386/winnt.c: Likewise.
* config/i386/cygming.h: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71956 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * fold-const.c (fold): Fold (A & ~B) - (A & B) into
kazu [Tue, 30 Sep 2003 21:07:41 +0000 (21:07 +0000)]
* fold-const.c (fold): Fold (A & ~B) - (A & B) into
(A ^ B) - B for any B.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71953 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-09-30 Paolo Carlini <pcarlini@unitus.it>
paolo [Tue, 30 Sep 2003 20:16:28 +0000 (20:16 +0000)]
2003-09-30  Paolo Carlini  <pcarlini@unitus.it>

* include/bits/stl_algo.h: Minor cosmetic reformattings.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71950 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * jcf-write.c (generate_bytecode_insns): Implement evaluate-once
sayle [Tue, 30 Sep 2003 18:24:33 +0000 (18:24 +0000)]
* jcf-write.c (generate_bytecode_insns): Implement evaluate-once
semantics for SAVE_EXPR, by caching the result in a temporary.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71949 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config.gcc (arm*-*-kaos*, i[34567]86-*-kaos*, powerpc-*-kaos*,
neroden [Tue, 30 Sep 2003 17:23:47 +0000 (17:23 +0000)]
* config.gcc (arm*-*-kaos*, i[34567]86-*-kaos*, powerpc-*-kaos*,
powerpcle-*-kaos*, strongarm-*-kaos*): Disable fixproto.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71948 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-09-30 Paolo Carlini <pcarlini@unitus.it>
paolo [Tue, 30 Sep 2003 17:03:52 +0000 (17:03 +0000)]
2003-09-30  Paolo Carlini  <pcarlini@unitus.it>

* include/bits/stl_algo.h (search_n): Tweak, to spare the
first --__n.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71946 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-09-30 Paolo Carlini <pcarlini@unitus.it>
paolo [Tue, 30 Sep 2003 15:19:33 +0000 (15:19 +0000)]
2003-09-30  Paolo Carlini  <pcarlini@unitus.it>

* testsuite/22_locale/locale/cons/12352.cc: Explicitly
qualify exception name.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71945 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-09-30 Paolo Carlini <pcarlini@unitus.it>
paolo [Tue, 30 Sep 2003 13:44:59 +0000 (13:44 +0000)]
2003-09-30  Paolo Carlini  <pcarlini@unitus.it>

PR libstdc++/12438
* include/bits/locale_facets.tcc (locale::combine): Don't
leak memory if _M_replace_facet throws.
* testsuite/22_locale/locale/cons/12438.cc: New, from the PR.

* include/bits/locale_classes.h (locale::locale(const locale&,
_Facet*)): Tweak, use consistently _M_remove_reference.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71943 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * decl.c (pop_binding): Don't mess with nullifying binding->scope
gdr [Tue, 30 Sep 2003 11:56:25 +0000 (11:56 +0000)]
* decl.c (pop_binding): Don't mess with nullifying binding->scope
here.
* name-lookup.c: Re-format.
(cxx_binding_free): Nullify binding->scope.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71942 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago* arm/ieee754-sf.S: Tidy formatting.
rearnsha [Tue, 30 Sep 2003 10:38:10 +0000 (10:38 +0000)]
* arm/ieee754-sf.S: Tidy formatting.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71941 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoNicolas Pitre <nico@cam.org>
rearnsha [Tue, 30 Sep 2003 10:30:32 +0000 (10:30 +0000)]
Nicolas Pitre <nico@cam.org>
* arm/lib1funcs.asm (ARM_DIV_MOD_BODY) split into ARM_DIV_BODY
and ARM_MOD_BODY.
(ARM_MOD_BODY): rewritten. added clz insns for __ARM_ARCH__ >= 5.
(ARM_DIV_BODY): added clz insns for __ARM_ARCH__ >= 5,
added better divisor alignment in the other case.
(ARM_DIV2_ORDER): added, finds the order of a single bit divisor.
(__divsi3, __udivsi3, __modsi3, __umodsi3): rewritten using the
macros above, add fast exits for divisor >= dividend, etc.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71940 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoNicolas Pitre <nico@cam.org>
rearnsha [Tue, 30 Sep 2003 10:21:41 +0000 (10:21 +0000)]
Nicolas Pitre <nico@cam.org>
* arm/ieee754-df.S: split compilation of fixunsdfsi from
L_fixdfsi target.
* arm/t-arm-elf: add _fixunsdfsi target due to the above.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71939 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config.gcc: Default use_fixproto to 'no'.
neroden [Tue, 30 Sep 2003 10:16:39 +0000 (10:16 +0000)]
* config.gcc: Default use_fixproto to 'no'.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71938 138bc75d-0d04-0410-961f-82ee72b054a4