]> git.ipfire.org Git - thirdparty/gcc.git/log
thirdparty/gcc.git
23 years agoDaily bump.
GCC Administrator [Tue, 30 Apr 2002 07:16:21 +0000 (07:16 +0000)] 
Daily bump.

From-SVN: r52929

23 years agolibstdc++-v3-dg.exp (libstdc++-v3-init): Set all of LD_LIBRARY_PATH, SHLIB_PATH,...
Rainer Orth [Tue, 30 Apr 2002 01:41:37 +0000 (01:41 +0000)] 
libstdc++-v3-dg.exp (libstdc++-v3-init): Set all of LD_LIBRARY_PATH, SHLIB_PATH, LD_LIBRARYN32_PATH, LD_LIBRARY64_PATH.

* testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set all
of LD_LIBRARY_PATH, SHLIB_PATH, LD_LIBRARYN32_PATH,
LD_LIBRARY64_PATH.

From-SVN: r52918

23 years agocombine.c (find_split_point): Use trunc_int_for_mode.
Franz Sirl [Tue, 30 Apr 2002 00:42:48 +0000 (00:42 +0000)] 
combine.c (find_split_point): Use trunc_int_for_mode.

2002-04-29  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

* combine.c (find_split_point): Use trunc_int_for_mode.

From-SVN: r52917

23 years agoreload1.c (eliminate_regs, [...]): Fix typo in adjust_address_nv call.
Richard Kenner [Mon, 29 Apr 2002 21:22:47 +0000 (21:22 +0000)] 
reload1.c (eliminate_regs, [...]): Fix typo in adjust_address_nv call.

* reload1.c (eliminate_regs, case SUBREG): Fix typo in
adjust_address_nv call.

From-SVN: r52912

23 years ago* MAINTAINERS: Synchronize with mainline.
Roger Sayle [Mon, 29 Apr 2002 20:44:37 +0000 (20:44 +0000)] 
* MAINTAINERS: Synchronize with mainline.

From-SVN: r52911

23 years agoinstall.texi (Testing): Provide additional information...
Janis Johnson [Mon, 29 Apr 2002 20:25:20 +0000 (20:25 +0000)] 
install.texi (Testing): Provide additional information...

* doc/install.texi (Testing): Provide additional information, and
a stronger encouragement, for running the testsuites.

From-SVN: r52909

23 years agoinclhack.def (solaris_widec): Include <wchar.h> in Solaris 2 <widec.h> if missing.
Rainer Orth [Mon, 29 Apr 2002 19:31:19 +0000 (19:31 +0000)] 
inclhack.def (solaris_widec): Include <wchar.h> in Solaris 2 <widec.h> if missing.

* fixinc/inclhack.def (solaris_widec): Include <wchar.h> in
Solaris 2 <widec.h> if missing.
* fixinc/fixincl.x: Regenerate.
* fixinc/tests/base/widec.h: New file.

From-SVN: r52905

23 years agore PR target/6476 (Need configury bits to detect binutils eh_frame optimizer bugs)
Jakub Jelinek [Mon, 29 Apr 2002 15:20:53 +0000 (17:20 +0200)] 
re PR target/6476 (Need configury bits to detect binutils eh_frame optimizer bugs)

PR target/6476
* configure.in: Check whether linker eh_frame optimizations work
properly.
* configure: Rebuilt.

From-SVN: r52901

23 years ago* i386.c (dbx64_register_map): Fix typo.
Jan Hubicka [Mon, 29 Apr 2002 15:09:23 +0000 (15:09 +0000)] 
* i386.c (dbx64_register_map): Fix typo.

From-SVN: r52898

23 years ago*** empty log message ***
Jan Hubicka [Mon, 29 Apr 2002 15:07:26 +0000 (17:07 +0200)] 
*** empty log message ***

From-SVN: r52897

23 years agore PR c++/6477 (Segfault on conflicting types in trivial code)
Jakub Jelinek [Mon, 29 Apr 2002 15:05:46 +0000 (17:05 +0200)] 
re PR c++/6477 (Segfault on conflicting types in trivial code)

PR c++/6477
* decl.c (follow_tag_typedef): Check if TYPE_NAME (original) is
non-NULL first.

* g++.dg/parse/typedef1.C: New test.

From-SVN: r52896

23 years agore PR c++/6492 (New boost regression (friends))
Mark Mitchell [Mon, 29 Apr 2002 14:54:52 +0000 (14:54 +0000)] 
re PR c++/6492 (New boost regression (friends))

PR c++/6492
* pt.c (tsubst_friend_class): If the friend has an explicit scope,
enter that scope before name lookup.

PR c++/6486
* method.c (do_build_copy_constructor): Avoid building
cv-qualified reference types.

PR c++/6486
* g++.dg/template/friend6.C: New test.

PR c++/6492
* g++.dg/init/copy1.C: New test.

From-SVN: r52894

23 years agocontrib.texi (Contributors): Add Paolo Carlini and Janis Johnson.
Gerald Pfeifer [Mon, 29 Apr 2002 13:10:06 +0000 (15:10 +0200)] 
contrib.texi (Contributors): Add Paolo Carlini and Janis Johnson.

* doc/contrib.texi (Contributors): Add Paolo Carlini and
Janis Johnson.
Update Richard Henderson, Jakub Jelinek, and Mark Mitchell.
Refer to Objective-C instead of ObjC, SPARC instead of sparc,
and CPU instead of cpu.

From-SVN: r52892

23 years agore PR c++/5719 (Suspect gcc-3 to report wrong waring for 'T& T::operator+=( const...
Nathan Sidwell [Mon, 29 Apr 2002 08:41:44 +0000 (08:41 +0000)] 
re PR c++/5719 (Suspect gcc-3 to report wrong waring for 'T& T::operator+=( const T& )')

cp:
PR c++/5719
* decl.c (grok_op_properties): Assignment ops don't have to return
by value. operator% should.
testsuite:
* g++.dg/warn/effc1.C: New test.

From-SVN: r52887

23 years agoinvoke.texi: Use @gol at ends of lines inside @gccoptlist.
Joseph Myers [Mon, 29 Apr 2002 07:58:32 +0000 (08:58 +0100)] 
invoke.texi: Use @gol at ends of lines inside @gccoptlist.

* invoke.texi: Use @gol at ends of lines inside @gccoptlist.
* g77.texi: Update last update date.

From-SVN: r52886

23 years agoconfig.gcc: Revert i386 changes inadvertently brought in from mainline along with...
Alexandre Oliva [Mon, 29 Apr 2002 07:52:06 +0000 (07:52 +0000)] 
config.gcc: Revert i386 changes inadvertently brought in from mainline along with...

* config.gcc: Revert i386 changes inadvertently brought in
from mainline along with 2002-04-04's change.

From-SVN: r52884

23 years agoDaily bump.
GCC Administrator [Mon, 29 Apr 2002 07:16:12 +0000 (07:16 +0000)] 
Daily bump.

From-SVN: r52880

23 years agoconfigure.in, configure: Fix SPARC test in previous change.
David S. Miller [Mon, 29 Apr 2002 05:47:08 +0000 (22:47 -0700)] 
configure.in, configure: Fix SPARC test in previous change.

2002-04-28  David S. Miller  <davem@redhat.com>

* configure.in, configure: Fix SPARC test in previous change.

From-SVN: r52877

23 years agore PR target/6496 (Sparc backend clobbers call-return stack of UltraSparc)
David S. Miller [Mon, 29 Apr 2002 05:26:08 +0000 (22:26 -0700)] 
re PR target/6496 (Sparc backend clobbers call-return stack of UltraSparc)

2002-04-28  David S. Miller  <davem@redhat.com>

PR target/6496
* config/sparc/sparc.md (call followed by jump peephole): Do not
match for TARGET_V9, kill TARGET_ARCH64 variants.

PR target/6500
* config/sparc/sparc.md (prefetch): Emit properly for 32-bit vs.
64-bit TARGET_V9.  Do not use prefetch page, use prefetch for
several {reads,writes} instead.
* config/sparc/sparc.h (PREFETCH_BLOCK, SIMULTANEOUS_PREFETCHES):
Define.

From-SVN: r52875

23 years agore PR target/6494 (sparc64-linux libjava testsuite failures)
David S. Miller [Mon, 29 Apr 2002 04:09:50 +0000 (21:09 -0700)] 
re PR target/6494 (sparc64-linux libjava testsuite failures)

2002-04-27  David S. Miller  <davem@redhat.com>

PR target/6494
* config/sparc/linux64.h (MD_FALLBACK_FRAME_STATE_FOR): Be mindful
of the stack bias.

* config/sparc/linux.h, config/sparc/linux64.h: Don't bother
including signal.h and sys/ucontext.h, not needed.

From-SVN: r52871

23 years agospell defined "defined" instead of "procedure"
Bruce Korb [Mon, 29 Apr 2002 02:28:36 +0000 (02:28 +0000)] 
spell defined "defined" instead of "procedure"

From-SVN: r52868

23 years ago[multiple changes]
Paolo Carlini [Sun, 28 Apr 2002 22:22:57 +0000 (22:22 +0000)] 
[multiple changes]

2002-04-28  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>

* include/ext/stl_hashtable.h: Import __iterator_category

2002-04-28  Paolo Carlini  <pcarlini@unitus.it>
            Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>

* testsuite/ext/hash_set.cc: New testfile.

From-SVN: r52865

23 years agore PR middle-end/5154 (GCC 3.0.2 crashes when compiling a HUGE function)
Richard Henderson [Sun, 28 Apr 2002 20:35:54 +0000 (13:35 -0700)] 
re PR middle-end/5154 (GCC 3.0.2 crashes when compiling a HUGE function)

        PR c/5154
        * ggc-common.c (ggc_mark_rtx_children_1): Rename from...
        (ggc_mark_rtx_children): New.

From-SVN: r52862

23 years agore PR c/6497 (unrecognizable insn:l inux-2.4.19 pre7 kernel comling with gcc-3...
Franz Sirl [Sun, 28 Apr 2002 20:34:49 +0000 (20:34 +0000)] 
re PR c/6497 (unrecognizable insn:l  inux-2.4.19 pre7 kernel comling  with gcc-3.1 prerelease)

2002-04-28  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

PR c/6497
* config/rs6000/rs6000.md (sCC patterns): Remove clobber and use
result as temporary value.

From-SVN: r52861

23 years agoconfigure.in (HAVE_AS_SPARC_UA_PCREL): Check for working %r_disp32().
Jakub Jelinek [Sun, 28 Apr 2002 20:12:04 +0000 (22:12 +0200)] 
configure.in (HAVE_AS_SPARC_UA_PCREL): Check for working %r_disp32().

* configure.in (HAVE_AS_SPARC_UA_PCREL): Check for working
%r_disp32().
* src/sparc/v8.S: Use it.
* src/sparc/v9.S: Likewise.
* fficonfig.h.in: Rebuilt.
* configure: Rebuilt.

From-SVN: r52859

23 years agore PR rtl-optimization/6475 (zlib miscompilation with gcc-3.1)
Jakub Jelinek [Sun, 28 Apr 2002 19:43:49 +0000 (21:43 +0200)] 
re PR rtl-optimization/6475 (zlib miscompilation with gcc-3.1)

PR optimization/6475
* reload1.c (alter_reg): Only call set_mem_expr if I is home pseudo
register of REGNO_DECL (i).
* Makefile.in (reload1.o): Add $(TREE_H).

* gcc.dg/20020426-2.c: New test.

From-SVN: r52854

23 years agoverify existence of set-writable before using
Bruce Korb [Sun, 28 Apr 2002 19:37:53 +0000 (19:37 +0000)] 
verify existence of set-writable before using

From-SVN: r52852

23 years agore PR c/6343 (attribute((weak)) not working on second declaration)
Franz Sirl [Sun, 28 Apr 2002 18:43:58 +0000 (18:43 +0000)] 
re PR c/6343 (attribute((weak)) not working on second declaration)

2002-04-28  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

PR c/6343
* c-decl.c (duplicate_decls): Call merge_weak.
* c-pragma.c (apply_pragma_weak): Warn about misuse.
* output.h (merge_weak): Prototype merge_weak.
* varasm.c (merge_weak): New function.
(declare_weak): Make sure we don't give an error on VAR_DECLs.
Mark RTL with SYMBOL_REF_WEAK.

cp:
* decl.c (duplicate_decls): Call merge_weak.

testsuite:
* gcc.dg/weak-[2-7].c: New tests.

From-SVN: r52848

23 years agoThis commit was manufactured by cvs2svn to create branch
No Author [Sun, 28 Apr 2002 18:43:58 +0000 (18:43 +0000)] 
This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r52847

23 years ago* .cvsignore: Remove files that are present in CVS.
Mark Mitchell [Sun, 28 Apr 2002 18:42:21 +0000 (18:42 +0000)] 
* .cvsignore: Remove files that are present in CVS.

From-SVN: r52846

23 years agoDaily bump.
GCC Administrator [Sun, 28 Apr 2002 07:16:40 +0000 (07:16 +0000)] 
Daily bump.

From-SVN: r52839

23 years agoDaily bump.
GCC Administrator [Sat, 27 Apr 2002 07:16:25 +0000 (07:16 +0000)] 
Daily bump.

From-SVN: r52828

23 years agore PR bootstrap/6445 (ICE bootstrapping objc for i386-rtems)
Mark Mitchell [Sat, 27 Apr 2002 00:25:12 +0000 (00:25 +0000)] 
re PR bootstrap/6445 (ICE bootstrapping objc for i386-rtems)

PR bootstrap/6445
* config/i386/i386.md (untyped_call): Return the value in a float
register if TARGET_FLOAT_RETURNS_IN_80387, not just if
TARGET_80387.

From-SVN: r52823

23 years agore PR target/6422 (libjava failures on sparc-linux)
David S. Miller [Sat, 27 Apr 2002 00:06:15 +0000 (17:06 -0700)] 
re PR target/6422 (libjava failures on sparc-linux)

2002-04-25  David S. Miller  <davem@redhat.com>

PR target/6422
* reorg.c (optimize_skip): Do not allow exception causing
instructions to be considered for delay slots.
(fill_simply_delay_slots, fill_slots_from_thread): Likewise.
(relax_delay_slots): Do not try to consider exception causing
instructions as redundant.

From-SVN: r52821

23 years agore PR target/6422 (libjava failures on sparc-linux)
David S. Miller [Sat, 27 Apr 2002 00:03:03 +0000 (17:03 -0700)] 
re PR target/6422 (libjava failures on sparc-linux)

2002-04-25  David S. Miller  <davem@redhat.com>

PR target/6422
* include/dwarf2-signal.h (MAKE_THROW_FRAME for sparc*): Set
program counter to next program counter minus 8.  Update
comments in this macro to explain why.

From-SVN: r52819

23 years agore PR c++/6479 (access control bug)
Alexandre Oliva [Fri, 26 Apr 2002 23:48:32 +0000 (23:48 +0000)] 
re PR c++/6479 (access control bug)

PR c++/6497
* g++.dg/inherit/access2.C: New test.

From-SVN: r52818

23 years agoThis commit was manufactured by cvs2svn to create branch
No Author [Fri, 26 Apr 2002 23:48:32 +0000 (23:48 +0000)] 
This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r52817

23 years agotree.c (tree_int_cst_lt): Compare constants whose types differ in unsigned-ness corre...
Alexandre Oliva [Fri, 26 Apr 2002 23:46:01 +0000 (23:46 +0000)] 
tree.c (tree_int_cst_lt): Compare constants whose types differ in unsigned-ness correctly.

* tree.c (tree_int_cst_lt): Compare constants whose types differ
in unsigned-ness correctly.

From-SVN: r52816

23 years agoconfigure.in (h8300*-*-rtems*): Disable libf2c and libgcj.
Joel Sherrill [Fri, 26 Apr 2002 21:40:53 +0000 (21:40 +0000)] 
configure.in (h8300*-*-rtems*): Disable libf2c and libgcj.

2002-04-26 Joel Sherrill <joel@OARcorp.com>

* configure.in (h8300*-*-rtems*): Disable libf2c and libgcj.
(sparc-*-elf*, sparc64-*-elf*): Disable libgcj.

From-SVN: r52811

23 years agomips.h (SUBTARGET_CPP_SIZE_SPEC): Get closer to correct for MEABI (used by mipsisa32...
Chris Demetriou [Fri, 26 Apr 2002 21:32:14 +0000 (21:32 +0000)] 
mips.h (SUBTARGET_CPP_SIZE_SPEC): Get closer to correct for MEABI (used by mipsisa32-elf).

2002-04-26  Chris Demetriou  <cgd@broadcom.com>

        * config/mips/mips.h (SUBTARGET_CPP_SIZE_SPEC): Get closer to
        correct for MEABI (used by mipsisa32-elf).

From-SVN: r52810

23 years agore PR bootstrap/6445 (ICE bootstrapping objc for i386-rtems)
Mark Mitchell [Fri, 26 Apr 2002 21:26:07 +0000 (21:26 +0000)] 
re PR bootstrap/6445 (ICE bootstrapping objc for i386-rtems)

PR bootstrap/6445
* config/i386/i386.md (untyped_call): Return the value in a float
register if TARGET_FLOAT_RETURNS_IN_80387, not just if
TARGET_80387.

PR c++/6497
* method.c (do_build_assign_ref): Pass a derivation to
build_method_call when calling base class assignment operators.

PR c++/6497
* g++.dg/inherit/access2.C: New test.

PR bootstrap/6445
* gcc.dg/20020426-1.c: New test.

From-SVN: r52808

23 years ago* g++.dg/abi/enum1.C: New test.
Alexandre Oliva [Fri, 26 Apr 2002 20:10:05 +0000 (20:10 +0000)] 
* g++.dg/abi/enum1.C: New test.

From-SVN: r52806

23 years agoThis commit was manufactured by cvs2svn to create branch
No Author [Fri, 26 Apr 2002 20:10:05 +0000 (20:10 +0000)] 
This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r52805

23 years agobasic_string.h (replace(__pos, __n1, __s, __n2): Fix and tighten __throw_length_error...
Paolo Carlini [Fri, 26 Apr 2002 19:36:27 +0000 (21:36 +0200)] 
basic_string.h (replace(__pos, __n1, __s, __n2): Fix and tighten __throw_length_error check.

2002-04-26  Paolo Carlini  <pcarlini@unitus.it>

* include/bits/basic_string.h (replace(__pos, __n1, __s, __n2):
Fix and tighten __throw_length_error check.
* testsuite/21_strings/replace.cc (test04): New.
* testsuite/21_strings/replace.cc (test02, test03): Tweak.

From-SVN: r52803

23 years ago* config/s390/linux.h: Revert 2002-04-22 change.
Ulrich Weigand [Fri, 26 Apr 2002 19:21:18 +0000 (19:21 +0000)] 
* config/s390/linux.h: Revert 2002-04-22 change.

From-SVN: r52801

23 years agopa.h (FUNCTION_OK_FOR_SIBCALL): Don't do sibcalls when using the portable runtime...
John David Anglin [Fri, 26 Apr 2002 18:40:47 +0000 (18:40 +0000)] 
pa.h (FUNCTION_OK_FOR_SIBCALL): Don't do sibcalls when using the portable runtime model.

* pa.h (FUNCTION_OK_FOR_SIBCALL): Don't do sibcalls when using the
portable runtime model.

From-SVN: r52799

23 years agors6000.md (sCC pattern): Remove clobber and use result as temporary value.
David Edelsohn [Fri, 26 Apr 2002 18:22:51 +0000 (18:22 +0000)] 
rs6000.md (sCC pattern): Remove clobber and use result as temporary value.

        * config/rs6000/rs6000.md (sCC pattern): Remove clobber and use
        result as temporary value.

Co-Authored-By: Richard Henderson <rth@redhat.com>
From-SVN: r52798

23 years ago* c-common.c (combine_strings): Tweak __FUNCTION__ warning text.
Richard Henderson [Fri, 26 Apr 2002 18:10:32 +0000 (11:10 -0700)] 
* c-common.c (combine_strings): Tweak __FUNCTION__ warning text.

From-SVN: r52796

23 years ago* c-common.c (combine_strings): Use xmalloc, not alloca.
Richard Henderson [Fri, 26 Apr 2002 17:53:35 +0000 (10:53 -0700)] 
* c-common.c (combine_strings): Use xmalloc, not alloca.

From-SVN: r52795

23 years agolinux64.h (MD_FALLBACK_FRAME_STATE_FOR): Define for x86-64.
Bo Thorsen [Fri, 26 Apr 2002 07:57:50 +0000 (07:57 +0000)] 
linux64.h (MD_FALLBACK_FRAME_STATE_FOR): Define for x86-64.

2002-04-26  Bo Thorsen  <bo@suse.co.uk>

* config/i386/linux64.h (MD_FALLBACK_FRAME_STATE_FOR): Define for
x86-64.

From-SVN: r52792

23 years agoDaily bump.
GCC Administrator [Fri, 26 Apr 2002 07:16:46 +0000 (07:16 +0000)] 
Daily bump.

From-SVN: r52783

23 years agosparc.h (FUNCTION_OK_FOR_SIBCALL): Add back check for DECL being NULL.
David S. Miller [Fri, 26 Apr 2002 02:04:04 +0000 (19:04 -0700)] 
sparc.h (FUNCTION_OK_FOR_SIBCALL): Add back check for DECL being NULL.

2002-04-25  David S. Miller  <davem@redhat.com>

* config/sparc/sparc.h (FUNCTION_OK_FOR_SIBCALL): Add back check
for DECL being NULL.

From-SVN: r52775

23 years agoc-decl.c (grokdeclarator): Remove outdated ??? note on invalid declaration of flexibl...
Eric Botcazou [Fri, 26 Apr 2002 00:23:32 +0000 (00:23 +0000)] 
c-decl.c (grokdeclarator): Remove outdated ??? note on invalid declaration of flexible array members.

        * c-decl.c (grokdeclarator): Remove outdated ??? note
        on invalid declaration of flexible array members.

From-SVN: r52773

23 years ago* doc/invoke.texi: Document -gdwarf{,-2} vs debug level.
Richard Henderson [Thu, 25 Apr 2002 22:33:21 +0000 (15:33 -0700)] 
* doc/invoke.texi: Document -gdwarf{,-2} vs debug level.

From-SVN: r52770

23 years agos390.c (s390_emit_epilogue): Always restore registers needed by the compiler...
Ulrich Weigand [Thu, 25 Apr 2002 20:06:51 +0000 (20:06 +0000)] 
s390.c (s390_emit_epilogue): Always restore registers needed by the compiler...

* config/s390/s390.c (s390_emit_epilogue): Always restore registers
needed by the compiler, even if they are used as global regs.

From-SVN: r52766

23 years ago20020227-1.x: New file, xfail on 64-bit targets.
Kaveh R. Ghazi [Thu, 25 Apr 2002 18:44:37 +0000 (18:44 +0000)] 
20020227-1.x: New file, xfail on 64-bit targets.

* gcc.c-torture/execute/20020227-1.x: New file, xfail on 64-bit
targets.

From-SVN: r52761

23 years ago* doc/c-tree.texi: Fix typo in introduction.
Steven Bosscher [Thu, 25 Apr 2002 09:34:52 +0000 (09:34 +0000)] 
* doc/c-tree.texi: Fix typo in introduction.

From-SVN: r52759

23 years agoDaily bump.
GCC Administrator [Thu, 25 Apr 2002 07:16:25 +0000 (07:16 +0000)] 
Daily bump.

From-SVN: r52754

23 years agoconfigure.in (HAVE_GAS_HIDDEN): Detect sparc binutils 2.12 linker bug.
Richard Henderson [Thu, 25 Apr 2002 01:32:29 +0000 (18:32 -0700)] 
configure.in (HAVE_GAS_HIDDEN): Detect sparc binutils 2.12 linker bug.

        * configure.in (HAVE_GAS_HIDDEN): Detect sparc binutils 2.12
        linker bug.

From-SVN: r52752

23 years agoFor PR java/6425:
Tom Tromey [Thu, 25 Apr 2002 01:08:29 +0000 (01:08 +0000)] 
For PR java/6425:

* parse.y (qualify_ambiguous_name) [case CALL_EXPR]: Always choose
EXPR_WFL_QUALIFICATION of qual_wfl.

From-SVN: r52750

23 years agomangle.c (write_type): Don't use TYPE_MAIN_VARIANT when writing out an array type.
Mark Mitchell [Thu, 25 Apr 2002 01:04:56 +0000 (01:04 +0000)] 
mangle.c (write_type): Don't use TYPE_MAIN_VARIANT when writing out an array type.

2002-04-24  Mark Mitchell  <mark@codesourcery.com>

* mangle.c (write_type): Don't use TYPE_MAIN_VARIANT when writing
out an array type.
(write_CV_qualifiers_for_type): Use TYPE_QUALS, not cp_type_quals,
to determine qualifiers.

From-SVN: r52748

23 years agotypeck.c (build_modify_expr): The pedwarn for array assignment is now unconditional.
Jason Merrill [Thu, 25 Apr 2002 00:14:26 +0000 (20:14 -0400)] 
typeck.c (build_modify_expr): The pedwarn for array assignment is now unconditional.

        * typeck.c (build_modify_expr): The pedwarn for array assignment is
        now unconditional.
        * tree.c (build_cplus_array_type_1): Still process simple array types
        normally in templates.

From-SVN: r52747

23 years agonatCore.cc (create): Use __builtin_alloca, and compute correct length of UTF-8 encode...
Tom Tromey [Wed, 24 Apr 2002 23:02:56 +0000 (23:02 +0000)] 
natCore.cc (create): Use __builtin_alloca, and compute correct length of UTF-8 encoded name.

* gnu/gcj/natCore.cc (create): Use __builtin_alloca, and compute
correct length of UTF-8 encoded name.  Strip leading `/'.
(_Jv_RegisterResource): Use _Jv_Malloc.

From-SVN: r52743

23 years agocvt.c (convert_to_void): Don't unconditionally make COND_EXPRs void.
Mark Mitchell [Wed, 24 Apr 2002 22:41:00 +0000 (22:41 +0000)] 
cvt.c (convert_to_void): Don't unconditionally make COND_EXPRs void.

* cvt.c (convert_to_void): Don't unconditionally make COND_EXPRs
void.

From-SVN: r52741

23 years agoexpr.c (PRE_JSR): Call NOTE_LABEL for return address.
Per Bothner [Wed, 24 Apr 2002 22:16:08 +0000 (15:16 -0700)] 
expr.c (PRE_JSR): Call NOTE_LABEL for return address.

* expr.c (PRE_JSR):  Call NOTE_LABEL for return address.
* java-tree.h (BCODE_RETURN_TARGET):  Removed - never set.
(BCODE_TARGET):  Remove BCODE_RETURN_TARGET.

From-SVN: r52736

23 years ago* gcc.dg/cpp/ucs.c: Update as for 3.2.
Neil Booth [Wed, 24 Apr 2002 20:39:30 +0000 (20:39 +0000)] 
* gcc.dg/cpp/ucs.c: Update as for 3.2.

From-SVN: r52729

23 years agolabels-3.x: New file, don't assemble the compiler output on mips*-*-irix*.
Kaveh Ghazi [Wed, 24 Apr 2002 19:31:25 +0000 (19:31 +0000)] 
labels-3.x: New file, don't assemble the compiler output on mips*-*-irix*.

* gcc.c-torture/compile/labels-3.x: New file, don't assemble the
compiler output on mips*-*-irix*.

From-SVN: r52728

23 years agoThis commit was manufactured by cvs2svn to create branch
No Author [Wed, 24 Apr 2002 19:31:25 +0000 (19:31 +0000)] 
This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r52727

23 years agodwarf2.h (enum dwarf_attribute): Add DW_AT_GNU_vector.
Jason Merrill [Wed, 24 Apr 2002 18:50:26 +0000 (14:50 -0400)] 
dwarf2.h (enum dwarf_attribute): Add DW_AT_GNU_vector.

        * dwarf2.h (enum dwarf_attribute): Add DW_AT_GNU_vector.
        * dwarf2out.c (dwarf_attr_name): Support it.
        (gen_array_type_die): Emit it.
        (lookup_type_die): No special handling for VECTOR_TYPE.
        (gen_type_die): Hand VECTOR_TYPE off to gen_array_type_die.

From-SVN: r52725

23 years ago* config/mips/mips.md (movdi_usd): Renumber.
Richard Henderson [Wed, 24 Apr 2002 17:40:50 +0000 (10:40 -0700)] 
* config/mips/mips.md (movdi_usd): Renumber.

From-SVN: r52722

23 years ago* config/i386/sco5.h(i386.h, att.h): Eliminate double inclusion.
Robert Lipe [Wed, 24 Apr 2002 17:18:04 +0000 (17:18 +0000)] 
* config/i386/sco5.h(i386.h, att.h): Eliminate double inclusion.

From-SVN: r52721

23 years agore PR target/6420 (libstdc++ failures on sparc-linux-gnu)
David S. Miller [Wed, 24 Apr 2002 16:57:15 +0000 (09:57 -0700)] 
re PR target/6420 (libstdc++ failures on sparc-linux-gnu)

2002-04-24  David S. Miller  <davem@redhat.com>

PR target/6420
* config/sparc/sparc.h (FUNCTION_OK_FOR_SIBCALL): Return false if
32-bit Sparc and current_function_returns_struct is true.

From-SVN: r52719

23 years agoencoding.c (MAX, [...]): #undef before defining.
David O'Brien [Wed, 24 Apr 2002 15:05:19 +0000 (15:05 +0000)] 
encoding.c (MAX, [...]): #undef before defining.

2002-04-24  David O'Brien  <obrien@FreeBSD.org>
* encoding.c (MAX, MIN, ROUNDING): #undef before defining.

Approved by:  David S. Miller <davem@redhat.com>
              Message-Id: <20020419.184825.67430590.davem@redhat.com>

From-SVN: r52716

23 years agoaltivec.h: Cleanup file.
Aldy Hernandez [Wed, 24 Apr 2002 10:59:40 +0000 (10:59 +0000)] 
altivec.h: Cleanup file.

2002-04-24  Aldy Hernandez  <aldyh@redhat.com>

* config/rs6000/altivec.h: Cleanup file.  Add non individual
variants.
(vec_vaddubm): New.
(vec_vadduhm): New.
(vec_vadduwm): New.
(vec_vaddfp): New.
(vec_vaddcuw): New.
(vec_vaddubs): New.
(vec_vaddsbs): New.
(vec_vadduhs): New.
(vec_vadduws): New.
(vec_vaddsws): New.
(vec_vand): New.
(vec_vandc): New.
(vec_vavgub): New.
(vec_vavgsb): New.
(vec_vavguh): New.
(vec_vavgsh): New.
(vec_vavguw): New.
(vec_vavgsw): New.
(vec_vrfip): New.
(vec_vcmpbfp): New.
(vec_vcmpequb): New.
(vec_vcmpequh): New.
(vec_vcmpequw): New.
(vec_vcmpeqfp): New.
(vec_vcmpgefp): New.
(vec_vcmpgtub): New.
(vec_vcmpgtsb): New.
(vec_vcmpgtuh): New.
(vec_vcmpgtsh): New.
(vec_vcmpgtuw): New.
(vec_vcmpgtsw): New.
(vec_vcmpgtfp): New.
(vec_vcmpgefp): New.
(vec_vcfux): New.
(vec_vcfsx): New.
(vec_vctsxs): New.
(vec_vctuxs): New.
(vec_vexptefp): New.
(vec_vrfim): New.
(vec_lvx): New.
(vec_lvebx): New.
(vec_lvehx): New.
(vec_lde): Add vector float variant.
(vec_lvewx): New.
(vec_lvxl): New.
(vec_vlogefp): New.
(vec_vmaddfp): New.
(vec_vmhaddshs): New.
(vec_vmaxub): New.
(vec_vmaxsb): New.
(vec_vmaxuh): New.
(vec_vmaxsh): New.
(vec_vmaxuw): New.
(vec_vmaxsw): New.
(vec_vmaxsw): New.
(vec_vmaxfp): New.
(vec_vmrghb): New.
(vec_vmrghh): New.
(vec_vmrghw): New.
(vec_vmrglb): New.
(vec_vmrglh): New.
(vec_vmrglw): New.
(vec_vminub): New.
(vec_vminsb): New.
(vec_vminuh): New.
(vec_vminsh): New.
(vec_vminuw): New.
(vec_vminsw): New.
(vec_vminfp): New.
(vec_vmladduhm): New.
(vec_vmhraddshs): New.
(vec_msumubm): New.
(vec_vmsummbm): New.
(vec_vmsumuhm): New.
(vec_vmsumshm): New.
(vec_vmsumuhs): New.
(vec_vmsumshs): New.
(vec_vmuleub): New.
(vec_vmulesb): New.
(vec_vmuleuh): New.
(vec_vmulesh): New.
(vec_vmuloub): New.
(vec_mulosb): New.
(vec_vmulouh): New.
(vec_vmulosh): New.
(vec_vnmsubfp): New.
(vec_vnor): New.
(vec_vor): New.
(vec_vpkuhum): New.
(vec_vpkuwum): New.
(vec_vpkpx): New.
(vec_vpkuhus): New.
(vec_vpkshss): New.
(vec_vpkuwus): New.
(vec_vpkswss): New.
(vec_vpkshus): New.
(vec_vpkswus): New.
(vec_vperm): New.
(vec_vrefp): New.
(vec_vrlb): New.
(vec_vrlh): New.
(vec_vrlw): New.
(vec_vrfin): New.
(vec_vrsqrtefp): New.
(vec_vsel): New.
(vec_vslb): New.
(vec_vslh): New.
(vec_vslw): New.
(vec_vsldoi): New.
(vec_vsl): New.
(vec_vslo): New.
(vec_vspltb): New.
(vec_vsplth): New.
(vec_vspltw): New.
(vec_vspltisb): New.
(vec_vspltish): New.
(vec_vspltisw): New.
(vec_vsrb): New.
(vec_vsrh): New.
(vec_vsrw): New.
(vec_vsrab): New.
(vec_vsrah): New.
(vec_vsraw): New.
(vec_vsr): New.
(vec_vsro): New.
(vec_stvx): New.
(vec_stvebx): New.
(vec_stvehx): New.
(vec_stvewx): New.
(vec_stvxl): New.
(vec_vsububm): New.
(vec_vsubuhm): New.
(vec_vsubuwm): New.
(vec_vsubfp): New.
(vec_vsubcuw): New.
(vec_vsububs): New.
(vec_vsubsbs): New.
(vec_vsubuhs): New.
(vec_vsubshs): New.
(vec_vsubuws): New.
(vec_vsubsws): New.
(vec_vsum4ubs): New.
(vec_vsum4sbs): New.
(vec_vsum4shs): New.
(vec_vsum2sws): New.
(vec_vsumsws): New.
(vec_vrfiz): New.
(vec_vupkhsb): New.
(vec_vupkhpx): New.
(vec_vupkhsh): New.
(vec_vupklsb): New.
(vec_vupklpx): New.
(vec_vupklsh): New.
(vec_vxor): New.

From-SVN: r52713

23 years agore PR c++/6331 (g++ 3.1 looses const qualifiers)
Jason Merrill [Wed, 24 Apr 2002 10:49:56 +0000 (06:49 -0400)] 
re PR c++/6331 (g++ 3.1 looses const qualifiers)

        PR c++/6331
        * method.c (do_build_copy_constructor): Use cp_build_qualified_type.
        * typeck.c (build_modify_expr): Allow arrays to differ in cv-quals.

From-SVN: r52710

23 years agoDaily bump.
GCC Administrator [Wed, 24 Apr 2002 07:16:30 +0000 (07:16 +0000)] 
Daily bump.

From-SVN: r52705

23 years agoFix typos for 2002-03-08 entry.
Per Bothner [Wed, 24 Apr 2002 05:12:11 +0000 (22:12 -0700)] 
Fix typos for 2002-03-08 entry.

From-SVN: r52704

23 years agostd_fstream.h (basic_filebuf::sync): Hoist unconditional flush on lower-layer handle...
Loren J. Rittle [Wed, 24 Apr 2002 03:20:14 +0000 (03:20 +0000)] 
std_fstream.h (basic_filebuf::sync): Hoist unconditional flush on lower-layer handle to here...

* include/std/std_fstream.h (basic_filebuf::sync): Hoist
unconditional flush on lower-layer handle to here...
* include/bits/fstream.tcc (basic_filebuf::_M_really_overflow):
...from here.  Optimize remaining _M_file.sync() call pattern.
* testsuite/27_io/narrow_stream_objects.cc (test04): New test.
(test05): Likewise.

From-SVN: r52702

23 years agowin32.cc, win32.cc (backtrace): Added this function because Win32 does not supply it.
Adam Megacz [Wed, 24 Apr 2002 01:04:45 +0000 (01:04 +0000)] 
win32.cc, win32.cc (backtrace): Added this function because Win32 does not supply it.

2002-04-23  Adam Megacz <adam@xwt.org>

        * win32.cc, include/win32.cc (backtrace): Added this function
        because Win32 does not supply it.

From-SVN: r52700

23 years agoFixe rmiregistry docs
Anthony Green [Tue, 23 Apr 2002 23:56:25 +0000 (23:56 +0000)] 
Fixe rmiregistry docs

From-SVN: r52698

23 years agore PR c++/6395 (gcc-3_1-branch regression for g++.old-deja/g++.jason/synth5.C)
Jason Merrill [Tue, 23 Apr 2002 23:52:07 +0000 (19:52 -0400)] 
re PR c++/6395 (gcc-3_1-branch regression for g++.old-deja/g++.jason/synth5.C)

        PR c++/6395
        * decl.c (make_rtl_for_nonlocal_decl): Don't mess with #pragma i/i
        stuff for comdats.

From-SVN: r52697

23 years agoinstall.texi: Clarify which versions of alpha*-dec-osf* are obsoleted.
Zack Weinberg [Tue, 23 Apr 2002 23:30:07 +0000 (23:30 +0000)] 
install.texi: Clarify which versions of alpha*-dec-osf* are obsoleted.

* doc/install.texi: Clarify which versions of alpha*-dec-osf*
are obsoleted.

From-SVN: r52694

23 years agofold-const.c (split_tree): Add MINUS_LITP parameter; separate added literals from...
Eric Botcazou [Tue, 23 Apr 2002 23:20:05 +0000 (16:20 -0700)] 
fold-const.c (split_tree): Add MINUS_LITP parameter; separate added literals from substracted literals.

        * fold-const.c (split_tree): Add MINUS_LITP parameter; separate
        added literals from substracted literals.
        (associate_trees): Don't convert MINUS_EXPR into PLUS_EXPR.
        (fold) [associate]: Preserve MINUS_EXPR if needed.

* gcc.c-torture/execute/20020423-1.c: New.

From-SVN: r52693

23 years agoFor PR java/6314:
Tom Tromey [Tue, 23 Apr 2002 22:55:00 +0000 (22:55 +0000)] 
For PR java/6314:

* jvspec.c (lang_specific_driver): Use --resource, not -R.  Also
recognize `-fcompile-resource='.
* gcj.texi (Invoking gcj): Use --resource, not -R.  Expanded text
a bit.

From-SVN: r52688

23 years ago* gcc.c: Added --resource. For PR java/6314.
Tom Tromey [Tue, 23 Apr 2002 22:53:29 +0000 (22:53 +0000)] 
* gcc.c: Added --resource.  For PR java/6314.

From-SVN: r52687

23 years agofstream.tcc (basic_filebuf::seekoff): Fix for output-only filebufs.
Jason Merrill [Tue, 23 Apr 2002 21:55:24 +0000 (17:55 -0400)] 
fstream.tcc (basic_filebuf::seekoff): Fix for output-only filebufs.

        * include/bits/fstream.tcc (basic_filebuf::seekoff): Fix for
        output-only filebufs.
        * include/std/std_fstream.h (basic_filebuf::_M_set_indeterminate):
        Likewise.
        (basic_filebuf::_M_set_determinate): Likewise.

From-SVN: r52684

23 years agoPR c++/5504 - but re-breaks c++/411
Jason Merrill [Tue, 23 Apr 2002 21:51:26 +0000 (17:51 -0400)] 
PR c++/5504 - but re-breaks c++/411

        PR c++/5504 - but re-breaks c++/411
        * init.c (push_base_cleanups): Rename to perform_base_cleanups.
        Expand base cleanups now rather than pushing them.
        * decl.c (begin_destructor_body): Don't call push_base_cleanups.
        (finish_destructor_body): Call perform_base_cleanups.
        * cp-tree.h: Adjust prototype.

From-SVN: r52683

23 years agotweak ChangeLog entry
Jason Merrill [Tue, 23 Apr 2002 21:03:00 +0000 (17:03 -0400)] 
tweak ChangeLog entry

From-SVN: r52681

23 years agore PR libstdc++/6414 (g++ 3.1 tellg() regression within last week)
Jason Merrill [Tue, 23 Apr 2002 21:02:41 +0000 (17:02 -0400)] 
re PR libstdc++/6414 (g++ 3.1 tellg() regression within last week)

        PR libstdc++/6414
        * include/bits/fstream.tcc (basic_filebuf::seekoff): Adjust return
        value properly in the trivial case.
        * testsuite/27_io/istream_seeks.cc (test04): Make sure that
        tellg() returns the right value after a read.

From-SVN: r52680

23 years agoparse.y (check_class_key): Allow KEY to be union/enum/struct/class node with attributes.
Jakub Jelinek [Tue, 23 Apr 2002 20:39:46 +0000 (22:39 +0200)] 
parse.y (check_class_key): Allow KEY to be union/enum/struct/class node with attributes.

* parse.y (check_class_key): Allow KEY to be union/enum/struct/class
node with attributes.

* g++.dg/parse/attr1.C: New test.

From-SVN: r52677

23 years agocpu_limits.h: New file.
Hans-Peter Nilsson [Tue, 23 Apr 2002 20:32:10 +0000 (20:32 +0000)] 
cpu_limits.h: New file.

* config/cpu/mmix/bits/cpu_limits.h: New file.
* configure.target (CPULIMITSH): Use it.

From-SVN: r52676

23 years agoThis commit was manufactured by cvs2svn to create branch
No Author [Tue, 23 Apr 2002 20:32:10 +0000 (20:32 +0000)] 
This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r52675

23 years agofreebsd.h (OBJECT_FORMAT_ELF): Define.
David O'Brien [Tue, 23 Apr 2002 16:43:44 +0000 (16:43 +0000)] 
freebsd.h (OBJECT_FORMAT_ELF): Define.

2002-04-23  David O'Brien  <obrien@FreeBSD.org>
* config/freebsd.h(OBJECT_FORMAT_ELF): Define.

Approved by:  Richard Henderson <rth@redhat.com>
              Message-ID: <20020423092406.D632@redhat.com>

From-SVN: r52673

23 years agog++spec.c: Use profiled libstdc++ and libm with -p/-pg.
David O'Brien [Tue, 23 Apr 2002 16:37:16 +0000 (16:37 +0000)] 
g++spec.c: Use profiled libstdc++ and libm with -p/-pg.

2002-04-23  David O'Brien  <obrien@FreeBSD.org>
* cp/g++spec.c: Use profiled libstdc++ and libm with -p/-pg.
* config/freebsd.h (MATH_LIBRARY_PROFILE): Use the _p verions of
these libraries.

Approved by:  Richard Henderson <rth@redhat.com>
              Message-ID: <20020423092356.C632@redhat.com>

From-SVN: r52670

23 years agoRegenerate gcc.pot
Philipp Thomas [Tue, 23 Apr 2002 11:05:42 +0000 (11:05 +0000)] 
Regenerate gcc.pot

From-SVN: r52663

23 years agore PR c++/6256 (Seg fault for template friends in namespaces, regression from 2.95)
Mark Mitchell [Tue, 23 Apr 2002 08:34:45 +0000 (08:34 +0000)] 
re PR c++/6256 (Seg fault for template friends in namespaces, regression from 2.95)

PR c++/6256:
* g++.dg/template/friend5.C: New test.

PR c++/6331:
* g++.dg/template/qual1.C: Likewise.

PR c++/6256:
* pt.c (tsubst_friend_class): Handle templates with explicit
nested names.

PR c++/6331:
* typeck.c (merge_types): Remember the cv-qualification of pointer
types when merging them.

From-SVN: r52660

23 years agore PR target/6413 (PROFILE_HOOK label_no)
Alan Modra [Tue, 23 Apr 2002 08:11:25 +0000 (08:11 +0000)] 
re PR target/6413 (PROFILE_HOOK label_no)

PR target/6413
* function.h: (struct function): Add profile_label_no field.
(current_function_profile_label_no): Define.
* function.c: (profile_label_no): New static var.
(expand_function_start): Increment it, and copy to
current_function_profile_label_no.
* output.h (profile_label_no): Delete.
* final.c (profile_label_no): Delete.
(profile_function): Use current_function_profile_label_no.
(final_end_function): Don't increment profile_label_no here.
* config/i386/i386.c (ix86_osf_output_function_prologue): Replace
profile_label_no with current_function_profile_label_no.
* config/pa/pa.c (current_function_number): Delete.
(pa_output_function_prologue): Don't output profile label here.
(hppa_profile_hook): Use label_no param rather than
current_function_number.
(FUNC_BEGIN_PROLOG_LABEL): Move to ..
* config/pa/pa.h: .. here.
(FUNCTION_PROFILER): Output profile label here.

From-SVN: r52659

23 years agoaltivec.h (vec_step): Remove extraneous parentheses.
Aldy Hernandez [Tue, 23 Apr 2002 07:33:59 +0000 (07:33 +0000)] 
altivec.h (vec_step): Remove extraneous parentheses.

2002-04-23  Aldy Hernandez  <aldyh@redhat.com>

        * config/rs6000/altivec.h (vec_step): Remove extraneous
        parentheses.
        (vec_ctu): Cast return.

From-SVN: r52658

23 years agoDaily bump.
GCC Administrator [Tue, 23 Apr 2002 07:16:23 +0000 (07:16 +0000)] 
Daily bump.

From-SVN: r52652

23 years agoMakefile.am (toolexeclib_LTLIBRARIES): Remove.
Jeff Sturm [Tue, 23 Apr 2002 03:20:04 +0000 (03:20 +0000)] 
Makefile.am (toolexeclib_LTLIBRARIES): Remove.

* Makefile.am (toolexeclib_LTLIBRARIES): Remove.
(noinst_LTLIBRARIES): Add libgcjgc.la.

* Makefile.in: Rebuild.

From-SVN: r52650