platform/upstream/gcc.git
22 years agore PR libstdc++/6549 (std::getline(std::cin,s) work wrong at FreeBSD 4.5)
Benjamin Kosnik [Fri, 3 May 2002 18:22:58 +0000 (18:22 +0000)]
re PR libstdc++/6549 (std::getline(std::cin,s) work wrong at FreeBSD 4.5)

2002-05-03  Benjamin Kosnik  <bkoz@redhat.com>

PR libstdc++/6549.
* include/bits/fstream.tcc (filebuf::_M_underflow_common): Revert.
* testsuite/27_io/narrow_stream_objects.cc (test07): Add.

From-SVN: r53107

22 years agore PR preprocessor/6489 (tradcpp0 fails on line ending with '\r\n')
Jakub Jelinek [Fri, 3 May 2002 17:55:26 +0000 (19:55 +0200)]
re PR preprocessor/6489 (tradcpp0 fails on line ending with '\r\n')

PR preprocessor/6489
* tradcpp.c (fixup_newlines): New.
(main, finclude): Use it.

From-SVN: r53103

22 years agoelf64.h (UNIQUE_SECTION): Use mips_unique_section.
Richard Sandiford [Fri, 3 May 2002 17:08:29 +0000 (17:08 +0000)]
elf64.h (UNIQUE_SECTION): Use mips_unique_section.

* config/mips/elf64.h (UNIQUE_SECTION): Use mips_unique_section.
* config/mips/mips.c (mips_unique_section): Strip encoding from
decl name.

From-SVN: r53101

22 years agoconfigure.in (FLAGS_FOR_TARGET): Do not add -B$$r/$(TARGET_SUBDIR)/newlib/ when...
Thomas Fitzsimmons [Fri, 3 May 2002 16:28:41 +0000 (16:28 +0000)]
configure.in (FLAGS_FOR_TARGET): Do not add -B$$r/$(TARGET_SUBDIR)/newlib/ when...

* configure.in (FLAGS_FOR_TARGET): Do not add
-B$$r/$(TARGET_SUBDIR)/newlib/ when compiling newlib natively
on i[3456]86-*-linux*.

From-SVN: r53100

22 years agoi386.c (ix86_expand_int_movcc): Truncate to proper mode.
Jakub Jelinek [Fri, 3 May 2002 16:28:30 +0000 (18:28 +0200)]
i386.c (ix86_expand_int_movcc): Truncate to proper mode.

* config/i386/i386.c (ix86_expand_int_movcc): Truncate to proper
mode.

From-SVN: r53099

22 years agotree.c (build_cplus_array_type): Only const and volatile get special handling.
Jason Merrill [Fri, 3 May 2002 16:22:08 +0000 (12:22 -0400)]
tree.c (build_cplus_array_type): Only const and volatile get special handling.

        * tree.c (build_cplus_array_type): Only const and volatile get
        special handling.

From-SVN: r53098

22 years agoinstall.texi (Installing): Mention GCC 3.1 buildstats.
Rainer Orth [Fri, 3 May 2002 15:13:16 +0000 (15:13 +0000)]
install.texi (Installing): Mention GCC 3.1 buildstats.

* doc/install.texi (Installing): Mention GCC 3.1 buildstats.
(Specific): Removed buildstats references.
(Specific, hppa*-hp-hpux11): Adjust for GCC versions > 3.0.
(Specific, sparc-sun-solaris2*): Update 64-bit hints for GCC 3.1.
Accomodate Solaris versions beyond 8.
(Specific, sparc-sun-solaris2.7): Update as path for GCC 3.1.
(Specific, *-*-solaris2.8): Removed, obsolete.

From-SVN: r53097

22 years agore PR target/6542 (Internal compiler error when building libgcc for sparc-elf)
Jakub Jelinek [Fri, 3 May 2002 14:20:04 +0000 (16:20 +0200)]
re PR target/6542 (Internal compiler error when building libgcc for sparc-elf)

PR target/6542
* config/sparc/sparc.h (leaf_reg_remap): Remove const.
(CONDITIONAL_REGISTER_USAGE): For TARGET_FLAT make
fill leaf_reg_remap with identity.
* config/sparc/sparc.c (leaf_reg_remap): Remove const.

* gcc.dg/20020503-1.c: New test.

From-SVN: r53095

22 years agoctype_noninline.h (classic_table): Return __ctype + 1.
Kaveh R. Ghazi [Fri, 3 May 2002 13:56:52 +0000 (13:56 +0000)]
ctype_noninline.h (classic_table): Return __ctype + 1.

* config/os/irix/irix5.2/bits/ctype_noninline.h (classic_table):
Return __ctype + 1.
(ctype:_M_table): Initialize to classic_table(), not __ctype.

From-SVN: r53093

22 years agodefaults.h (BOOL_TYPE_SIZE): Move default here from cp/decl.c.
Jason Merrill [Fri, 3 May 2002 13:13:13 +0000 (09:13 -0400)]
defaults.h (BOOL_TYPE_SIZE): Move default here from cp/decl.c.

        * defaults.h (BOOL_TYPE_SIZE): Move default here from cp/decl.c.
        * c-decl.c (c_init_decl_processing): Use it.
        * config/rs6000/darwin.h (BOOL_TYPE_SIZE): Define to INT_TYPE_SIZE.
        * config/i960/i960.h (BOOL_TYPE_SIZE): Don't define.
        * config/mcore/mcore.h (BOOL_TYPE_SIZE): Don't define.

From-SVN: r53091

22 years agocrti.asm: Remove trailing spaces.
Kazu Hirata [Fri, 3 May 2002 12:28:41 +0000 (12:28 +0000)]
crti.asm: Remove trailing spaces.

* config/h8300/crti.asm: Remove trailing spaces.
* config/h8300/h8300.c: Likewise.
* config/h8300/lib1funcs.asm: Likewise.

From-SVN: r53090

22 years agodefaults.h (BOOL_TYPE_SIZE): Move default here from cp/decl.c.
Jason Merrill [Fri, 3 May 2002 12:09:35 +0000 (08:09 -0400)]
defaults.h (BOOL_TYPE_SIZE): Move default here from cp/decl.c.

        * defaults.h (BOOL_TYPE_SIZE): Move default here from cp/decl.c.
        * c-decl.c (c_init_decl_processing): Use it.
        * config/rs6000/darwin.h (BOOL_TYPE_SIZE): Define to INT_TYPE_SIZE.
        * config/i960/i960.h (BOOL_TYPE_SIZE): Don't define.
        * config/mcore/mcore.h (BOOL_TYPE_SIZE): Don't define.

From-SVN: r53089

22 years agoregrename.c: Fix formatting.
Kazu Hirata [Fri, 3 May 2002 12:07:30 +0000 (12:07 +0000)]
regrename.c: Fix formatting.

* regrename.c: Fix formatting.
* tree.c: Likewise.

From-SVN: r53088

22 years ago* i386.md (attribute memory): Handle compares properly.
Jan Hubicka [Fri, 3 May 2002 11:35:49 +0000 (13:35 +0200)]
* i386.md (attribute memory): Handle compares properly.

From-SVN: r53085

22 years agoconfigure.in: Update local install.html, configopts.html paths.
Rainer Orth [Fri, 3 May 2002 11:09:51 +0000 (11:09 +0000)]
configure.in: Update local install.html, configopts.html paths.

* configure.in: Update local install.html, configopts.html paths.
* configure: Regenerate.

From-SVN: r53083

22 years agoi386.c (sse_clrsf, sse_clrsi): Set memory attribute to none.
Jan Hubicka [Fri, 3 May 2002 08:53:03 +0000 (10:53 +0200)]
i386.c (sse_clrsf, sse_clrsi): Set memory attribute to none.

* i386.c (sse_clrsf, sse_clrsi): Set memory attribute
to none.

From-SVN: r53082

22 years agoDaily bump.
GCC Administrator [Fri, 3 May 2002 07:17:19 +0000 (07:17 +0000)]
Daily bump.

From-SVN: r53081

22 years ago* config/os/irix/irix5.2/bits/os_defines.h
Kaveh R. Ghazi [Fri, 3 May 2002 04:01:58 +0000 (04:01 +0000)]
* config/os/irix/irix5.2/bits/os_defines.h
(__glibcpp_long_double_bits, __glibcpp_long_bits): Define.

From-SVN: r53077

22 years agoctype_inline.h: Cast to unsigned char.
Kaveh R. Ghazi [Fri, 3 May 2002 03:59:22 +0000 (03:59 +0000)]
ctype_inline.h: Cast to unsigned char.

* config/os/irix/irix5.2/bits/ctype_inline.h: Cast to unsigned
char.

From-SVN: r53076

22 years ago* function.c: Fix formatting.
Kazu Hirata [Fri, 3 May 2002 00:23:55 +0000 (00:23 +0000)]
* function.c: Fix formatting.

From-SVN: r53075

22 years agodwarf2-signal.h (INIT_SEGV, [...]): use sigaction instead of __libc_sigaction.
Hans Boehm [Fri, 3 May 2002 00:21:48 +0000 (00:21 +0000)]
dwarf2-signal.h (INIT_SEGV, [...]): use sigaction instead of __libc_sigaction.

* include/dwarf2-signal.h (INIT_SEGV, INIT_FPE for ia64):
use sigaction instead of __libc_sigaction.

From-SVN: r53074

22 years agohaifa-sched.c (schedule_insn): Print table of instructions and reservations.
Jan Hubicka [Fri, 3 May 2002 00:05:52 +0000 (02:05 +0200)]
haifa-sched.c (schedule_insn): Print table of instructions and reservations.

        * haifa-sched.c (schedule_insn): Print table of instructions and
        reservations.
        (sched_block): Do not print ready list at verbosity level 1.
        * sched-vis.c (print_insn): Make global.
        * sched-ebb.c (ebb_print_insn): Rename from...
        (print_insn): ... this one.
        * sched-int.h (print_insn): Declare

From-SVN: r53073

22 years agohaifa-sched.c (rank_for_schedule): Skip past last_scheduled_insn emitted by cycle_dis...
Richard Henderson [Thu, 2 May 2002 23:59:52 +0000 (16:59 -0700)]
haifa-sched.c (rank_for_schedule): Skip past last_scheduled_insn emitted by cycle_display.

        * haifa-sched.c (rank_for_schedule): Skip past last_scheduled_insn
        emitted by cycle_display.

From-SVN: r53072

22 years ago* doc/install.texi (*-*-freebsd*): Update to latest status.
Loren J. Rittle [Thu, 2 May 2002 23:29:30 +0000 (23:29 +0000)]
* doc/install.texi (*-*-freebsd*): Update to latest status.

From-SVN: r53070

22 years agore PR target/6540 (sparc-sun-solaris2.7 (perhaps all bi-arch sparc) fail libstdc...
Jakub Jelinek [Thu, 2 May 2002 21:30:38 +0000 (23:30 +0200)]
re PR target/6540 (sparc-sun-solaris2.7 (perhaps all bi-arch sparc) fail libstdc++-v3 18_support/numeric_limits.cc)

2002-05-02  Jakub Jelinek  <jakub@redhat.com>

PR target/6540
* config.gcc (sparc*-*-solaris2*): Set float_format to i128.
* config/float-sparc.h: Assume 128-bit long double if
__LONG_DOUBLE_128__ is defined.

From-SVN: r53069

22 years agogenattrtab.c (write_function_unit_info): Add a dummy element when num_units == 0.
Vladimir Makarov [Thu, 2 May 2002 21:28:24 +0000 (21:28 +0000)]
genattrtab.c (write_function_unit_info): Add a dummy element when num_units == 0.

2002-05-02  Vladimir Makarov  <vmakarov@redhat.com>

* genattrtab.c (write_function_unit_info): Add a dummy element
when num_units == 0.

From-SVN: r53067

22 years agoindex.html: Update list in #4.1.
Phil Edwards [Thu, 2 May 2002 21:21:16 +0000 (21:21 +0000)]
index.html: Update list in #4.1.

2002-05-02  Phil Edwards  <pme@gcc.gnu.org>

* docs/html/faq/index.html:  Update list in #4.1.
* docs/html/faq/index.txt:  Regenerated.

From-SVN: r53065

22 years agopredict.c: (propagate_freq...
Herman A.J. ten Brugge [Thu, 2 May 2002 20:49:13 +0000 (22:49 +0200)]
predict.c: (propagate_freq...

        * predict.c: (propagate_freq, estimate_bb_frequencies): Use
        TYPE_MODE (double_type_node) instead of DFmode.

From-SVN: r53064

22 years agoRELEASE-NOTES (New): Update.
Benjamin Kosnik [Thu, 2 May 2002 20:42:25 +0000 (20:42 +0000)]
RELEASE-NOTES (New): Update.

2002-05-02  Benjamin Kosnik  <bkoz@redhat.com>

        * docs/html/17_intro/RELEASE-NOTES (New): Update.

From-SVN: r53063

22 years ago* g++.dg/init/dtor1.C: Make it tougher.
Mark Mitchell [Thu, 2 May 2002 20:05:15 +0000 (20:05 +0000)]
* g++.dg/init/dtor1.C: Make it tougher.

From-SVN: r53061

22 years agoFix i960-rtems Ada build failure reported by Joel Sherrill.
Jim Wilson [Thu, 2 May 2002 19:27:42 +0000 (19:27 +0000)]
Fix i960-rtems Ada build failure reported by Joel Sherrill.

* utils.c (finish_record_type): Change record_size to record_type.

From-SVN: r53058

22 years agolibjava.exp (libjava_find_spec): New function.
Rainer Orth [Thu, 2 May 2002 19:12:37 +0000 (19:12 +0000)]
libjava.exp (libjava_find_spec): New function.

* testsuite/lib/libjava.exp (libjava_find_spec): New function.
(libjava_init): Use it to find libgcj.spec.
(libjava_arguments): Likewise.

From-SVN: r53057

22 years agore PR bootstrap/6525 (libjava won't build on Red Hat Linux 6.2/sparc)
David S. Miller [Thu, 2 May 2002 17:54:24 +0000 (10:54 -0700)]
re PR bootstrap/6525 (libjava won't build on Red Hat Linux 6.2/sparc)

2002-05-02  David S. Miller  <davem@redhat.com>

PR bootstrap/6525
* include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Don't use
__libc_sigaction on Sparc.

From-SVN: r53055

22 years agocfgrtl.c (try_redirect_by_replacing_jump): Do not kill computed jumps post reload.
Jan Hubicka [Thu, 2 May 2002 17:51:48 +0000 (19:51 +0200)]
cfgrtl.c (try_redirect_by_replacing_jump): Do not kill computed jumps post reload.

* cfgrtl.c (try_redirect_by_replacing_jump): Do not kill computed
jumps post reload.
* toplev.c (rest_of_compilation): Revert Richard's patch.

From-SVN: r53052

22 years agonatPlainSocketImpl.cc: Include sys/ioctl.h and sys/filio.h, if present.
Jerome Marc [Thu, 2 May 2002 17:33:59 +0000 (17:33 +0000)]
natPlainSocketImpl.cc: Include sys/ioctl.h and sys/filio.h, if present.

2002-05-02  Jerome Marc  <marcjero@yahoo.com>

* java/net/natPlainSocketImpl.cc: Include sys/ioctl.h and
sys/filio.h, if present.

From-SVN: r53050

22 years agox-ada (ADA_CFLAGS): Rename to X_ADA_CFLAGS.
John David Anglin [Thu, 2 May 2002 15:07:09 +0000 (15:07 +0000)]
x-ada (ADA_CFLAGS): Rename to X_ADA_CFLAGS.

* pa/x-ada (ADA_CFLAGS): Rename to X_ADA_CFLAGS.

* ada/Makefile.in (X_ADA_CFLAGS, T_ADA_CFLAGS): New fragment overrides.
(ALL_ADA_CFLAGS): Define.  Replace ADA_CFLAGS with ALL_ADA_CFLAGS in
ALL_ADAFLAGS, MOST_ADAFLAGS, and all compilations using CC.

From-SVN: r53047

22 years ago* config/v850/v850.h (TRAMPOLINE_TEMPLATE): Change r5 to r20.
Catherine Moore [Thu, 2 May 2002 14:25:50 +0000 (14:25 +0000)]
* config/v850/v850.h (TRAMPOLINE_TEMPLATE): Change r5 to r20.

From-SVN: r53046

22 years agoA typo in my last commit.
Kazu Hirata [Thu, 2 May 2002 14:00:10 +0000 (14:00 +0000)]
A typo in my last commit.

From-SVN: r53045

22 years agocombine.c: Fix comment formatting.
Kazu Hirata [Thu, 2 May 2002 13:55:35 +0000 (13:55 +0000)]
combine.c: Fix comment formatting.

* combine.c: Fix comment formatting.
* expr.c: Likewise.
* genautomata.c: Likewise.
* stmt.c: Likewise.
* tree.h: Likewise.

From-SVN: r53044

22 years ago* doc/install.texi: State GNAT version requirements.
Joseph Myers [Thu, 2 May 2002 08:59:10 +0000 (09:59 +0100)]
* doc/install.texi: State GNAT version requirements.

From-SVN: r53040

22 years agofr30.h (GO_IF_LEGITIMATE_ADDRESS): Accept any form of the frame pointer or arg pointe...
Nick Clifton [Thu, 2 May 2002 07:55:32 +0000 (07:55 +0000)]
fr30.h (GO_IF_LEGITIMATE_ADDRESS): Accept any form of the frame pointer or arg pointer register which strict...

* config/fr30/fr30.h (GO_IF_LEGITIMATE_ADDRESS): Accept any form of the frame
pointer or arg pointer register which strict register checking is not enabled.

From-SVN: r53039

22 years agoDaily bump.
GCC Administrator [Thu, 2 May 2002 07:17:16 +0000 (07:17 +0000)]
Daily bump.

From-SVN: r53038

22 years agosync mainline to 3.1
Bruce Korb [Thu, 2 May 2002 05:18:08 +0000 (05:18 +0000)]
sync mainline to 3.1

From-SVN: r53034

22 years ago* g++.dg/init/dtor1.C: New test.
Mark Mitchell [Thu, 2 May 2002 05:14:31 +0000 (05:14 +0000)]
* g++.dg/init/dtor1.C: New test.

From-SVN: r53033

22 years agoaltivec-8.c: New.
Aldy Hernandez [Thu, 2 May 2002 02:03:14 +0000 (02:03 +0000)]
altivec-8.c: New.

2002-05-02  Aldy Hernandez  <aldyh@redhat.com>

        * gcc.dg/altivec-8.c: New.

        * config/rs6000/rs6000.c (rs6000_legitimate_address): Disallow
        PRE_INC and PRE_DEC for altivec modes.

From-SVN: r53031

22 years agopa.h (EXTRA_CONSTRAINT): Don't accept PIC addresses for the 'T' constraint.
Jeff Law [Wed, 1 May 2002 23:17:57 +0000 (17:17 -0600)]
pa.h (EXTRA_CONSTRAINT): Don't accept PIC addresses for the 'T' constraint.

2002-05-01  Jeff Law  <law@redhat.com>

* pa.h (EXTRA_CONSTRAINT): Don't accept PIC addresses for the
'T' constraint.

From-SVN: r53027

22 years agostd_bitset.h: Fix doxygen comments.
Phil Edwards [Wed, 1 May 2002 22:57:59 +0000 (22:57 +0000)]
std_bitset.h: Fix doxygen comments.

2002-05-01  Phil Edwards  <pme@gcc.gnu.org>

* include/std/std_bitset.h:  Fix doxygen comments.
* docs/html/documentation.html:  Minor tweaks for 3.1.
* docs/html/27_io/howto.html:  Likewise.
* docs/html/ext/howto.html:  Likewise, mention stdio_filebuf.
* docs/html/faq/index.html:  Likewise.
* docs/html/faq/index.txt:  Regenerated.

From-SVN: r53025

22 years agore PR libstdc++/6533 (libstdc++ broken on unsigned char platforms)
Benjamin Kosnik [Wed, 1 May 2002 22:40:27 +0000 (22:40 +0000)]
re PR libstdc++/6533 (libstdc++ broken on unsigned char platforms)

2002-05-01  Benjamin Kosnik  <bkoz@redhat.com>

PR libstdc++/6533
* include/bits/streambuf_iterator.h (istreambuf_iterator::_M_get): New.
(istreambuf_iterator::equal): Use it.
(istreambuf_iterator::operator*): Use it.

From-SVN: r53024

22 years agodbxout.c (dbxout_type): Emit size information for range types, as well, but only...
Joel Brobecker [Wed, 1 May 2002 22:31:08 +0000 (22:31 +0000)]
dbxout.c (dbxout_type): Emit size information for range types, as well, but only when using GDB extensions.

* dbxout.c (dbxout_type): Emit size information for range types,
as well, but only when using GDB extensions.

From-SVN: r53023

22 years agoconfigure.in (noconfigdirs): Replace [ ] with test.
Thomas Fitzsimmons [Wed, 1 May 2002 22:28:36 +0000 (22:28 +0000)]
configure.in (noconfigdirs): Replace [ ] with test.

* configure.in (noconfigdirs): Replace [ ] with test.

* configure.in (noconfigdirs): Do not add target-newlib if
target == i[3456]86-*-linux*, and host == target.

From-SVN: r53021

22 years agoconfigure.in (HAVE_GAS_HIDDEN): Replace SPARC feature test with target-independent...
Richard Henderson [Wed, 1 May 2002 20:37:41 +0000 (13:37 -0700)]
configure.in (HAVE_GAS_HIDDEN): Replace SPARC feature test with target-independent gnu binutils date test.

        * configure.in (HAVE_GAS_HIDDEN): Replace SPARC feature test with
        target-independent gnu binutils date test.

From-SVN: r53017

22 years agocfgcleanup.c (merge_blocks_move_successor_nojumps): Emit dump info before expunging...
Richard Henderson [Wed, 1 May 2002 20:20:19 +0000 (13:20 -0700)]
cfgcleanup.c (merge_blocks_move_successor_nojumps): Emit dump info before expunging the block.

        * cfgcleanup.c (merge_blocks_move_successor_nojumps): Emit dump
        info before expunging the block.

From-SVN: r53014

22 years agocppinit.c (cpp_handle_option): Don't set no_output here...
Jakub Jelinek [Wed, 1 May 2002 20:07:36 +0000 (22:07 +0200)]
cppinit.c (cpp_handle_option): Don't set no_output here...

* cppinit.c (cpp_handle_option) [-dM]: Don't set no_output here...
(cpp_post_options): ...but here.  Disable -dD, -dN and -dI when
-M -or -MM is in effect.

From-SVN: r53013

22 years agoconfig.gcc: Correct test of --enable-obsolete.
Zack Weinberg [Wed, 1 May 2002 18:42:55 +0000 (18:42 +0000)]
config.gcc: Correct test of --enable-obsolete.

* config.gcc: Correct test of --enable-obsolete.  Obsolete all
A29k configurations.
* doc/install.texi: Update to match.

From-SVN: r53009

22 years agore PR bootstrap/6514 (3.1 irix6.5 bootstrap failure in libstdc++-v3/src/misc-inst.cc)
Franz Sirl [Wed, 1 May 2002 17:56:56 +0000 (17:56 +0000)]
re PR bootstrap/6514 (3.1 irix6.5 bootstrap failure in libstdc++-v3/src/misc-inst.cc)

2002-05-01  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

PR bootstrap/6514
* varasm.c (globalize_decl): Compare DECL_ASSEMBLER_NAME to check
for duplicates. Always loop over whole list.

From-SVN: r53006

22 years ago* reload.c (find_reloads, case 'p'): Set BADOP to 0.
Richard Kenner [Wed, 1 May 2002 17:33:55 +0000 (17:33 +0000)]
* reload.c (find_reloads, case 'p'): Set BADOP to 0.

From-SVN: r53005

22 years agot-elf (sparc-rtems, sparc-elf): Build assembly support routines.
Joel Sherrill [Wed, 1 May 2002 17:17:54 +0000 (17:17 +0000)]
t-elf (sparc-rtems, sparc-elf): Build assembly support routines.

2002-05-01 Joel Sherrill <joel@OARcorp.com>

* config/sparc/t-elf (sparc-rtems, sparc-elf): Build assembly
support routines.

From-SVN: r53003

22 years agortems-elf.h: Add #undef TARGET_VERSION to prevent warning.
Joel Sherrill [Wed, 1 May 2002 16:34:06 +0000 (16:34 +0000)]
rtems-elf.h: Add #undef TARGET_VERSION to prevent warning.

2002-05-01 Joel Sherrill <joel@OARcorp.com>

* config/arm/rtems-elf.h: Add #undef TARGET_VERSION to prevent warning.

From-SVN: r53001

22 years agors6000.md (abssi2_nopower): Convert to define_insn_and_split.
David Edelsohn [Wed, 1 May 2002 15:33:23 +0000 (15:33 +0000)]
rs6000.md (abssi2_nopower): Convert to define_insn_and_split.

        * rs6000.md (abssi2_nopower): Convert to define_insn_and_split.
        (nabs_nopower): Same.
        (floatdisf2): New pattern.
        (absdi2): Convert to define_insn_and_split.
        (nabsdi2): Same.
        (trunctfsf2): Same.
        (floatditf2): Same.
        (floatsitf2): Same.
        (fix_trunctfdi2): Same.
        (fix_trunctfsi2): Same.

From-SVN: r52999

22 years agoinstall.texi: Update Texinfo version requirement documentation.
Joseph Myers [Wed, 1 May 2002 13:02:39 +0000 (14:02 +0100)]
install.texi: Update Texinfo version requirement documentation.

* doc/install.texi: Update Texinfo version requirement
documentation.

From-SVN: r52997

22 years agoPR target/6512, PR target/5628
Jakub Jelinek [Wed, 1 May 2002 08:27:55 +0000 (10:27 +0200)]
PR target/6512, PR target/5628

PR target/6512, PR target/5628
* config/sparc/sparc.md (movdf_insn_v9only_novis): Don't allow >= %f32
when memory is not aligned.
(movdf_insn_v9only_vis): Likewise.
* config/sparc/sparc.h (SECONDARY_INPUT_RELOAD_CLASS): Request a FP_REGS
temporary for EXTRA_FP_REGS DFmode load from unaligned memory.
(SECONDARY_OUTPUT_RELOAD_CLASS): Similarly.

From-SVN: r52995

22 years agoFix bad regexp
Nathan Sidwell [Wed, 1 May 2002 07:35:19 +0000 (07:35 +0000)]
Fix bad regexp

From-SVN: r52994

22 years agoDaily bump.
GCC Administrator [Wed, 1 May 2002 07:17:15 +0000 (07:17 +0000)]
Daily bump.

From-SVN: r52992

22 years agoaltivec-7.c: New.
Aldy Hernandez [Wed, 1 May 2002 06:52:30 +0000 (06:52 +0000)]
altivec-7.c: New.

2002-05-01  Aldy Hernandez  <aldyh@redhat.com>

        * gcc.dg/altivec-7.c: New.

        * config/rs6000/altivec.h: Cleanup.

From-SVN: r52988

22 years agore PR libstdc++/6513 (sigfaults on trivial code)
Paolo Carlini [Wed, 1 May 2002 02:17:35 +0000 (04:17 +0200)]
re PR libstdc++/6513 (sigfaults on trivial code)

2002-05-01  Paolo Carlini  <pcarlini@unitus.it>

PR libstdc++/6513
* include/bits/stl_uninitialized.h
(uninitialized_copy(_InputIter, _InputIter, _ForwardIter)):
Fix typo in 2001-07-17 commit: typedef _ValueType to
iterator_traits<_ForwardIter> not <_InputIter>.
* testsuite/23_containers/vector_ctor.cc: Add test04.

From-SVN: r52985

22 years agoldy Hernandez <aldyh@redhat.com>
Aldy Hernandez [Wed, 1 May 2002 01:50:24 +0000 (01:50 +0000)]
ldy Hernandez  <aldyh@redhat.com>

        * doc/invoke.texi (Option Summary): Add -mvrsave=.
        (RS/6000 and PowerPC Options): Document -mvrsave=.

        * config/rs6000/rs6000.c (rs6000_altivec_vrsave): New global.
        (rs6000_altivec_vrsave_string): Same.
        (rs6000_override_options): Call rs6000_parse_vrsave_option.
        (rs6000_parse_vrsave_option): New.
        (rs6000_stack_info): Only generate vrsave instructions when
        TARGET_ALTIVEC_VRSAVE.

        * config/rs6000/rs6000.h (TARGET_OPTIONS): Add -mvrsave= option.
        (rs6000_altivec_vrsave_string): Define extern.
        (rs6000_altivec_vrsave): Same.
        (TARGET_ALTIVEC_VRSAVE): New.

From-SVN: r52984

22 years agore PR libgcj/6301 (gij -jar does not work)
Tom Tromey [Tue, 30 Apr 2002 23:55:57 +0000 (23:55 +0000)]
re PR libgcj/6301 (gij -jar does not work)

* java/io/BufferedReader.java (fill): Handle case where markPos
point to ignored \n.  Fixes PR libgcj/6301.

From-SVN: r52982

22 years agotoplev.c (rest_of_compilation): Don't run cross-jump before bb-reorder.
Richard Henderson [Tue, 30 Apr 2002 23:13:36 +0000 (16:13 -0700)]
toplev.c (rest_of_compilation): Don't run cross-jump before bb-reorder.

        * toplev.c (rest_of_compilation): Don't run cross-jump before
        bb-reorder.
* gcc.dg/20020430-1.c: New.

From-SVN: r52981

22 years agore PR libstdc++/6501 (ctype_noninline.h:45: `__SB_masks' undeclared)
Benjamin Kosnik [Tue, 30 Apr 2002 22:52:39 +0000 (22:52 +0000)]
re PR libstdc++/6501 (ctype_noninline.h:45: `__SB_masks' undeclared)

2002-04-30  John David Anglin  <dave@hiauly1.hia.nrc.ca>

PR libstdc++/6501
* include/c_std/std_cctype.h: Include bits/c++config.h.
* config/os/hpux/bits/os_defines.h (_SB_CTYPE_MACROS): Define.

From-SVN: r52979

22 years agoAdd ABI change note to previous change.
David S. Miller [Tue, 30 Apr 2002 22:27:01 +0000 (15:27 -0700)]
Add ABI change note to previous change.

From-SVN: r52977

22 years agoclass.c (finish_struct_bits): Only mark TREE_ADDRESSABLE if TYPE_HAS_TRIVIAL_INIT_REF...
Mark Mitchell [Tue, 30 Apr 2002 21:53:53 +0000 (21:53 +0000)]
class.c (finish_struct_bits): Only mark TREE_ADDRESSABLE if TYPE_HAS_TRIVIAL_INIT_REF is false or...

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

* class.c (finish_struct_bits): Only mark TREE_ADDRESSABLE if
TYPE_HAS_TRIVIAL_INIT_REF is false or
TYPE_HAS_NONTRIVIAL_DESTRUCTOR is true.

From-SVN: r52976

22 years agoAdd sanity check to regrename.c.
Tom Rix [Tue, 30 Apr 2002 21:39:46 +0000 (21:39 +0000)]
Add sanity check to regrename.c.

From-SVN: r52974

22 years agocpplex.c: Fix comment formatting.
Kazu Hirata [Tue, 30 Apr 2002 20:48:55 +0000 (20:48 +0000)]
cpplex.c: Fix comment formatting.

* cpplex.c: Fix comment formatting.
* function.c: Likewise.
* integrate.c: Likewise.
* regrename.c: Likewise.
* sibcall.c: Likewise.
* simplify-rtx.c: Likewise.
* tree-inline.c: Likewise.

From-SVN: r52972

22 years agore PR libstdc++/6501 (ctype_noninline.h:45: `__SB_masks' undeclared)
John David Anglin [Tue, 30 Apr 2002 19:50:29 +0000 (19:50 +0000)]
re PR libstdc++/6501 (ctype_noninline.h:45: `__SB_masks' undeclared)

PR libstdc++/6501
* include/c_std/std_cctype.h: Include bits/c++config.h.
* config/os/hpux/bits/os_defines.h (_SB_CTYPE_MACROS): Define.

From-SVN: r52970

22 years agoconfig.gcc (hppa1.1-*-pro*, [...]): Define xmake_file.
John David Anglin [Tue, 30 Apr 2002 19:47:38 +0000 (19:47 +0000)]
config.gcc (hppa1.1-*-pro*, [...]): Define xmake_file.

* config.gcc (hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-rtems*,
hppa1.0-*-osf*, hppa1.1-*-bsd*, hppa1.1-*-hpux10*, hppa2*-*-hpux10*,
hppa1.0-*-hpux10*, hppa*64*-*-hpux11*, hppa1.1-*-hpux11*,
hppa2*-*-hpux11*, hppa1.0-*-hpux11*, hppa*-*-lites*): Define xmake_file.
* pa/t-linux, pa/t-pa, pa/t-pa64, t-pro (T_ADAFLAGS): Delete.
* pa/x-ada: New file.  Define ADA_CFLAGS.

From-SVN: r52969

22 years agommix.h (MMIX_LAST_STACK_REGISTER_REGNUM): Renamed from MMIX_LAST_REGISTER_FILE_REGNUM.
Hans-Peter Nilsson [Tue, 30 Apr 2002 19:18:49 +0000 (19:18 +0000)]
mmix.h (MMIX_LAST_STACK_REGISTER_REGNUM): Renamed from MMIX_LAST_REGISTER_FILE_REGNUM.

* config/mmix/mmix.h (MMIX_LAST_STACK_REGISTER_REGNUM): Renamed
from MMIX_LAST_REGISTER_FILE_REGNUM.
(NO_IMPLICIT_EXTERN_C): Remove cryptic obsolete comment.
(struct machine_function): New member highest_saved_stack_register
previously static variable in mmix.c.
(MACHINE_DEPENDENT_REORG): Define.
* config/mmix/mmix.c (highest_saved_stack_register): Deleted.
(MMIX_OUTPUT_REGNO): New.
(mmix_target_asm_function_prologue): Move calculation of last used
saved-stack-register into...
(mmix_machine_dependent_reorg): New function.  Update to also handle
!TARGET_ABI_GNU.
(mmix_print_operand): Apply MMIX_OUTPUT_REGNO when emitting
register names, simplify somewhat by new variable regno.
<case 'p'>: Remove fixed FIXME.  Always emit highest used saved
register.
(mmix_print_operand_address): Apply MMIX_OUTPUT_REGNO when
emitting register names.
(mmix_asm_output_reg_push, mmix_asm_output_reg_pop): Ditto.
(mmix_dbx_register_number): Apply MMIX_OUTPUT_REGNO here too.
Remove fixed FIXME.
* config/mmix/mmix-protos.h (mmix_machine_dependent_reorg):
Declare.

* config/mmix/mmix.md ("divmoddi4"): Update head comment.

From-SVN: r52966

22 years agosparc.c (emit_soft_tfmode_libcall, [...]): New.
Richard Henderson [Tue, 30 Apr 2002 19:17:07 +0000 (12:17 -0700)]
sparc.c (emit_soft_tfmode_libcall, [...]): New.

        * config/sparc/sparc.c (emit_soft_tfmode_libcall,
        emit_soft_tfmode_binop, emit_soft_tfmode_unop, emit_soft_tfmode_cvt,
        emit_hard_tfmode_operation, emit_tfmode_binop, emit_tfmode_unop,
        emit_tfmode_cvt): New.
        * config/sparc/sparc.md (extendsftf2, extenddftf2, trunctfsf2,
        trunctfdf2, floatsitf2, floatunssitf2, floatditf2, floatunsditf2,
        fix_trunctfsi2, fixuns_trunctfsi2, fix_trunctfdi2, fixuns_trunctfdi2,
        addtf3, subtf3, multf3, divtf3, sqrttf2): Use them.
        * config/sparc/sparc-protos.h: Update.

From-SVN: r52965

22 years agostdio_filebuf.h: New file.
Benjamin Kosnik [Tue, 30 Apr 2002 19:04:43 +0000 (19:04 +0000)]
stdio_filebuf.h: New file.

2002-04-30  Benjamin Kosnik  <bkoz@redhat.com>

* include/ext/stdio_filebuf.h: New file.
* include/ext/enc_filebuf.h: New file.
* config/io/basic_file_stdio.h (__basic_file::sys_open): Add fd ctor.
* config/io/basic_file_stdio.cc: Same.
* include/bits/fstream.tcc (filebuf::_M_allocate_internal_buffer):
Remove _M_unbuf hacks.
(filebuf::_M_destroy_internal_buffer): Same.
(filebuf::filebuf(cfile, openmode, int_type): Remove definition.
(filebuf::fd): Remove.
* include/std/std_fstream.h (filebuf::_M_unbuf): Remove.
(filebuf::filebuf(__c_file*, openmode, int_type)): Remove.
(filebuf::fd): Remove.
* src/ios.cc (ios_base::_S_ios_create): Change to use specialized
filebufs.
(ios_base::_S_ios_destroy): Same.
* src/misc-inst.cc (file_filebuf<char>): Add instantiation.
* include/Makefile.am (ext_headers): Add ext_filebuf.h,
stdio_filebuf.h.  * include/Makefile.in: Regenerate.

From-SVN: r52961

22 years agoinstall.texi (Final install): Add to the list of info to include in a report of a...
Janis Johnson [Tue, 30 Apr 2002 18:04:42 +0000 (18:04 +0000)]
install.texi (Final install): Add to the list of info to include in a report of a successful bootstrap...

* install.texi (Final install): Add to the list of info to include
in a report of a successful bootstrap, and add link to 3.1 list.

From-SVN: r52956

22 years agodecl.c (grokdeclarator): Don't override TYPE_NAME of an anonymous class with a typede...
Jason Merrill [Tue, 30 Apr 2002 17:50:12 +0000 (13:50 -0400)]
decl.c (grokdeclarator): Don't override TYPE_NAME of an anonymous class with a typedef if...

        * decl.c (grokdeclarator): Don't override TYPE_NAME of an
        anonymous class with a typedef if there are attributes.

[[Split portion of a mixed commit.]]

From-SVN: r52955.2

22 years agodecl.c (grokdeclarator): Don't override TYPE_NAME of an anonymous class with a typede...
Jason Merrill [Tue, 30 Apr 2002 17:49:10 +0000 (13:49 -0400)]
decl.c (grokdeclarator): Don't override TYPE_NAME of an anonymous class with a typedef if...

        * decl.c (grokdeclarator): Don't override TYPE_NAME of an
        anonymous class with a typedef if there are attributes.

From-SVN: r52954

22 years agoi386.md (type): Add new SSE/MMX subtypes, remove usused fop1.
Jan Hubicka [Tue, 30 Apr 2002 17:20:44 +0000 (19:20 +0200)]
i386.md (type): Add new SSE/MMX subtypes, remove usused fop1.

* i386.md (type): Add new SSE/MMX subtypes, remove usused fop1.
(mode): Add vector modes
(i387): Kill attribute.
(unit): New attribute.
(length_immediate): Grok new types.
(prefix_data16, prefix_rep, prefix_0f): Fix for SSE/MMX.
(modrm): Use "unit".
(memory): Handle MMX/SSE properly.
(scheduling descriptions): Kill uses of fop1.
(sse, mmx, fp patterns): Set type and mode properly.

From-SVN: r52953

22 years agore PR c++/6492 (New boost regression (friends))
Mark Mitchell [Tue, 30 Apr 2002 17:00:59 +0000 (17:00 +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.

From-SVN: r52951

22 years agopa.c (override_options): Default to PA8000 scheduling.
Jeffrey A Law [Tue, 30 Apr 2002 16:47:43 +0000 (16:47 +0000)]
pa.c (override_options): Default to PA8000 scheduling.

        * pa.c (override_options): Default to PA8000 scheduling.
        * doc/invoke.texi (HP-PA options): Mention newly added 7300
        scheduling parameter.

From-SVN: r52950

22 years ago* parse.y (nomods_initdcl0): Replace $<ttype>3 with $<ttype>$.
Paul Eggert [Tue, 30 Apr 2002 16:11:44 +0000 (16:11 +0000)]
* parse.y (nomods_initdcl0): Replace $<ttype>3 with $<ttype>$.

From-SVN: r52948

22 years agopa.md (7100lc, [...]): Slightly refine handling of double precision multiplies.
Jeffrey A Law [Tue, 30 Apr 2002 15:32:10 +0000 (15:32 +0000)]
pa.md (7100lc, [...]): Slightly refine handling of double precision multiplies.

        * pa.md (7100lc, 7200, 7300 scheduling): Slightly refine
        handling of double precision multiplies.

        * pa.md (7100lc, 7200, 7300 scheduling): Refine handling of
        fpdiv and fpsqrt instructions.
        (7200 & 7300 scheduling): Fix typo in handling of
        store-load and store-store penalties.

From-SVN: r52946

22 years agoFix typo in a Changelog entry title.
Vladimir Makarov [Tue, 30 Apr 2002 14:31:31 +0000 (14:31 +0000)]
Fix typo in a Changelog entry title.

From-SVN: r52945

22 years agocontrib.texi (Contributors): Use MIPS instead of Mips and mips.
Gerald Pfeifer [Tue, 30 Apr 2002 13:32:03 +0000 (15:32 +0200)]
contrib.texi (Contributors): Use MIPS instead of Mips and mips.

* doc/contrib.texi (Contributors): Use MIPS instead of Mips and
mips.  Add two missing commas.

From-SVN: r52944

22 years agocontrib.texi (Contributors): Update Paolo Carlini's and Benjamin Kosnik's entries.
Paolo Carlini [Tue, 30 Apr 2002 10:53:33 +0000 (12:53 +0200)]
contrib.texi (Contributors): Update Paolo Carlini's and Benjamin Kosnik's entries.

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

* doc/contrib.texi (Contributors): Update Paolo Carlini's
and Benjamin Kosnik's entries.

From-SVN: r52941

22 years agoparse.y (nomods_initdcl0): Do not move stack entries when setting things up as initdc...
Paul Eggert [Tue, 30 Apr 2002 09:34:49 +0000 (09:34 +0000)]
parse.y (nomods_initdcl0): Do not move stack entries when setting things up as initdcl0_innards expects.

* parse.y (nomods_initdcl0): Do not move stack entries
when setting things up as initdcl0_innards expects.

From-SVN: r52939

22 years agore PR libstdc++/6511 (new libstdc++ v3 testsuite regressions on *-*-solaris2.8)
Benjamin Kosnik [Tue, 30 Apr 2002 09:15:48 +0000 (09:15 +0000)]
re PR libstdc++/6511 (new libstdc++ v3 testsuite regressions on *-*-solaris2.8)

2002-04-30  Benjamin Kosnik  <bkoz@redhat.com>

PR libstdc++/6511
* config/os/solaris/solaris2.7/bits/ctype_noninline.h: Fix typo.

From-SVN: r52937

22 years agocorrect PR number
Benjamin Kosnik [Tue, 30 Apr 2002 07:28:20 +0000 (07:28 +0000)]
correct PR number

From-SVN: r52934

22 years agore PR libstdc++/5280 (Problems with named locales and iostreams (gnulocale))
Benjamin Kosnik [Tue, 30 Apr 2002 07:22:11 +0000 (07:22 +0000)]
re PR libstdc++/5280 (Problems with named locales and iostreams (gnulocale))

2002-04-29  Benjamin Kosnik  <bkoz@redhat.com>

PR libstdc++/5280
* include/bits/fstream.tcc (basic_filebuf::_M_underflow_common):
Check for eof.
* include/bits/streambuf_iterator.h: Match stream_iterator.h.
(istreambuf_iterator::operator++): Invalidate on eof.
(istreambuf_iterator::operator++(int)): Same.
(istreambuf_iterator::operator*): Same.

From-SVN: r52933

22 years agoDaily bump.
GCC Administrator [Tue, 30 Apr 2002 07:17:34 +0000 (07:17 +0000)]
Daily bump.

From-SVN: r52932

22 years agosparc.h (BRANCH_COST, [...]): Tune for UltraSPARC-III.
David S. Miller [Tue, 30 Apr 2002 04:49:45 +0000 (21:49 -0700)]
sparc.h (BRANCH_COST, [...]): Tune for UltraSPARC-III.

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

* config/sparc/sparc.h (BRANCH_COST, PREFETCH_BLOCK,
SIMULTANEOUS_PREFETCHES): Tune for UltraSPARC-III.
* config/sparc/sparc.md (call + jmp 32-bit peepholes): Likewise.
* config/sparc/sparc.c (sparc_initialize_trampoline): Likewise.

From-SVN: r52928

22 years agomh-cxux: remove dead code
DJ Delorie [Tue, 30 Apr 2002 03:30:22 +0000 (23:30 -0400)]
mh-cxux: remove dead code

* config/mh-cxux: remove dead code
* config/mh-dgux386: remove dead code
* config/mh-hp300: remove dead code
* config/mh-hpux: remove dead code
* config/mh-hpux8: remove dead code
* config/mh-irix5: remove dead code
* config/mh-irix6: remove dead code
* config/mh-ncr3000: remove dead code
* config/mh-ncrsvr43: remove dead code
* config/mh-necv4: remove dead code
* config/mh-sco: remove dead code
* config/mh-solaris: remove dead code
* config/mh-sysv: remove dead code
* config/mh-sysv4: remove dead code
* config/mh-sysv5: remove dead code
* config/mh-irix4: remove, contains only dead code
* configure.in: delete reference to absent file

From-SVN: r52926

22 years ago* configure.in: replace '[' with 'test'
Nathanael Nerode [Tue, 30 Apr 2002 03:16:53 +0000 (03:16 +0000)]
* configure.in: replace '[' with 'test'

From-SVN: r52925

22 years agoconfigure.in: Eliminate references to gash.
Nathanael Nerode [Tue, 30 Apr 2002 02:42:51 +0000 (02:42 +0000)]
configure.in: Eliminate references to gash.

* configure.in: Eliminate references to gash.
* Makefile.in: Eliminate references to gash.

From-SVN: r52924

22 years agoconfigure.in: Remove useless references to 'pic' makefile fragments.
Nathanael Nerode [Tue, 30 Apr 2002 02:35:12 +0000 (02:35 +0000)]
configure.in: Remove useless references to 'pic' makefile fragments.

* configure.in: Remove useless references to 'pic' makefile fragments.
* config/mt-armpic: Delete.
* config/mt-elfalphapic: Delete.
* config/mt-i370pic: Delete.
* config/mt-ia64pic: Delete.
* config/mt-m68kpic: Delete.
* config/mt-papic: Delete.
* config/mt-ppcpic: Delete.
* config/mt-s390pic: Delete.
* config/mt-sparcpic: Delete.
* config/mt-x86pic: Delete.

From-SVN: r52923

22 years ago* configure.in: Remove useless references to 'pic' makefile fragments.
Nathanael Nerode [Tue, 30 Apr 2002 02:28:23 +0000 (02:28 +0000)]
* configure.in: Remove useless references to 'pic' makefile fragments.

From-SVN: r52922