]>
git.ipfire.org Git - thirdparty/gcc.git/log
Jason Thorpe [Fri, 7 Jun 2002 16:13:32 +0000 (16:13 +0000)]
* config/mips/netbsd.h (CACHE_FLUSH_FUNC): Define.
From-SVN: r54341
GCC Administrator [Fri, 7 Jun 2002 07:16:35 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r54333
Adam Megacz [Thu, 6 Jun 2002 20:06:03 +0000 (20:06 +0000)]
natFileDescriptorWin32.cc (open): Disable Win32 file locking, just like the Sun JVM does.
2002-06-06 Adam Megacz <adam@xwt.org>
* java/io/natFileDescriptorWin32.cc (open): Disable Win32 file
locking, just like the Sun JVM does.
From-SVN: r54320
Nicola Pero [Thu, 6 Jun 2002 08:48:23 +0000 (08:48 +0000)]
Fixed regression for the Objective-C compiler, which was miscompiling
simple C code
From-SVN: r54313
Nicola Pero [Thu, 6 Jun 2002 08:46:05 +0000 (08:46 +0000)]
Define some missing language hooks: LANG_HOOKS_GET_ALIAS_SET and
LANG_HOOKS_SAFE_FROM_P
From-SVN: r54312
GCC Administrator [Thu, 6 Jun 2002 07:20:25 +0000 (07:20 +0000)]
Daily bump.
From-SVN: r54306
Loren J. Rittle [Thu, 6 Jun 2002 06:12:58 +0000 (06:12 +0000)]
ltmain.sh: Detect and handle object name conflicts while piecewise linking a static library.
2002-06-05 Loren J. Rittle <ljrittle@acm.org>
* ltmain.sh: Detect and handle object name conflicts while
piecewise linking a static library.
From-SVN: r54303
Jeff Law [Wed, 5 Jun 2002 19:31:48 +0000 (13:31 -0600)]
pa.h (EXTRA_CONSTRAINT, T case): Further refine so that it rejects (mem (lo_sum (reg) (unspec)))...
* pa.h (EXTRA_CONSTRAINT, T case): Further refine so that it
rejects (mem (lo_sum (reg) (unspec))), but will allow
(mem (lo_sum (reg) (symbol_ref)) for PA2.0.
From-SVN: r54290
David Edelsohn [Wed, 5 Jun 2002 15:14:20 +0000 (15:14 +0000)]
ctype_noninline.h (do_toupper,do_tolower): Call external symbol.
* config/os/aix/bits/ctype_noninline.h (do_toupper,do_tolower):
Call external symbol.
From-SVN: r54285
Paolo Carlini [Wed, 5 Jun 2002 12:08:45 +0000 (14:08 +0200)]
2002-06-05 Paolo Carlini <pcarlini@unitus.it>
* testsuite/22_locale/money_get_members_char.cc
(test02): Add decimal point to long double constants.
* testsuite/22_locale/money_get_members_wchar_t.cc
(test02): Likewise.
* testsuite/22_locale/money_put_members_char.cc
(test02, test03, test06): Likewise.
* testsuite/22_locale/money_put_members_wchar_t.cc:
(test02, test03, test06): Likewise.
* testsuite/22_locale/num_get_members_char.cc:
(test02, test01): Likewise; suffix long long constants with LL.
* testsuite/22_locale/num_get_members_wchar_t.cc:
(test02, test01): Likewise.
* testsuite/22_locale/num_put_members_char.cc:
(test02, test01): Likewise.
* testsuite/22_locale/num_put_members_wchar_t.cc:
(test02, test01): Likewise.
From-SVN: r54281
GCC Administrator [Wed, 5 Jun 2002 07:18:32 +0000 (07:18 +0000)]
Daily bump.
From-SVN: r54275
Alan Modra [Wed, 5 Jun 2002 04:02:27 +0000 (04:02 +0000)]
* config/rs6000/linux64.h (ASM_OUTPUT_SOURCE_LINE): Define.
From-SVN: r54273
Paolo Carlini [Tue, 4 Jun 2002 19:03:49 +0000 (21:03 +0200)]
2002-06-04 Paolo Carlini <pcarlini@unitus.it>
Gaby Dos Reis <gdr@codesourcery.com>
* include/bits/basic_string.tcc
(basic_string::_S_construct(forward_iterator_tag):
Fix typo in null pointer check.
* testsuite/21_strings/ctor_copy_dtor.cc: Add test04.
Co-Authored-By: Gabriel Dos Reis <gdr@codesourcery.com>
From-SVN: r54257
Mark Mitchell [Tue, 4 Jun 2002 16:46:07 +0000 (16:46 +0000)]
[multiple changes]
2002-05-18 Mark Mitchell <mark@codesourcery.com>
* java-tree.h (CLASS_BEING_LAIDOUT): Remove duplicate definition.
* jcf-io.c (dirent.h): Include it.
(fnmatch.h): Likewise.
(compare_path): New function.
(java_or_class_file): Likewise.
(memoized_dirlist_entry): New type.
(memoized_dirlist_lookup_eq): New function.
(memoized_dirlists): New variable.
(caching_stat): New function.
(memoized_class_lookup_eq): New function.
(memoized_class_lookups): Likewise.
(find_class): Use memoized_class_lookups and caching_stat.
* jcf.h (JCF_USE_SCANDIR): Define.
* parse.y (java_expand_classes): Write the class files in reverse
order.
2002-05-13 Mark Mitchell <mark@codesourcery.com>
* jcf-write.c (write_classfile): Unlink the temporary file if it
cannot be renamed. Use concat to build up the name of the
temporary file.
2002-05-13 Mark Mitchell <mark@codesourcery.com>
* jcf-write.c (write_classfile): Unlink the temporary file if it
cannot be renamed. Use concat to build up the name of the
temporary file.
2002-05-23 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
* Makefile.am (all-recursive): Depend on $all_java_class_files so that
they build first.
* Makefile.in: Rebuilt.
2002-05-08 Mark Mitchell <mark@codesourcery.com>
* Makefile.am (all_java_source_files): New variable.
(all_java_class_files): Likewise.
.java.class: New rule.
(CLEANFILES): Remove tmp-list.
* Makefile.in: Regenerated.
From-SVN: r54249
Jan Hubicka [Tue, 4 Jun 2002 16:20:30 +0000 (18:20 +0200)]
dwarf2out.c (expand_builtin_init_dwarf_reg_sizes): Do not initialize fields past the register table.
* dwarf2out.c (expand_builtin_init_dwarf_reg_sizes): Do not initialize
fields past the register table.
* i386.c (classify_argument): Properly handle base classes.
From-SVN: r54246
Jan Hubicka [Tue, 4 Jun 2002 12:48:03 +0000 (14:48 +0200)]
loop.c (emit_prefetch_instructions): Properly place the address computation.
* loop.c (emit_prefetch_instructions): Properly place the address
computation.
* dwarf2out.c (output_call_frame_info): Do not skip unwind info
when flag_asynchronous_unwind_tables is set.
* i386-protos.h (x86_output_mi_thunk): Declare.
* unix.h (ASM_OUTPUT_MI_THUNK): Move offline to ...
* i386.c (x86_output_mi_thunk): ... here; handle 64bits.
* config/i386/i386.c (ix86_expand_int_movcc): Truncate to proper
mode.
* i386.md (movabsdi): Kill broken alternative.
* i386.c (dbx64_register_map): Fix typo
From-SVN: r54241
GCC Administrator [Tue, 4 Jun 2002 07:17:03 +0000 (07:17 +0000)]
Daily bump.
From-SVN: r54234
Marc Espie [Mon, 3 Jun 2002 11:47:26 +0000 (11:47 +0000)]
please nitpicker.
From-SVN: r54213
GCC Administrator [Mon, 3 Jun 2002 07:16:54 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r54208
Marc Espie [Mon, 3 Jun 2002 05:27:41 +0000 (05:27 +0000)]
atomicity.h (__exchange_and_add): Fix inline assembly for old assemblers.
* config/cpu/m68k/bits/atomicity.h(__exchange_and_add): Fix inline
assembly for old assemblers.
From-SVN: r54204
Jason Thorpe [Mon, 3 Jun 2002 00:28:58 +0000 (00:28 +0000)]
* config/rs6000/netbsd.h (DRAFT_V4_STRUCT_RET): Remove.
From-SVN: r54195
GCC Administrator [Sun, 2 Jun 2002 07:26:03 +0000 (07:26 +0000)]
Daily bump.
From-SVN: r54159
GCC Administrator [Sat, 1 Jun 2002 07:16:29 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r54138
Marcus Meissner [Sat, 1 Jun 2002 00:51:22 +0000 (00:51 +0000)]
re PR libstdc++/6886 (bit vector iterator uses wrong 1 constant)
2002-05-31 Marcus Meissner <meissner@suse.de>
PR libstdc++/6886
* include/bits/stl_bvector.h: Use UL suffix for unsigned longs.
* testsuite/23_containers/vector_bool.cc (test02): New test.
From-SVN: r54130
John David Anglin [Sat, 1 Jun 2002 00:41:20 +0000 (00:41 +0000)]
os_defines.h (__glibcpp_long_bits): Define to 64 for hppa 64-bit port.
* config/os/gnu-linux/bits/os_defines.h (__glibcpp_long_bits): Define
to 64 for hppa 64-bit port.
(__glibcpp_long_double_bits): Define to 64 for all hppa ports.
From-SVN: r54127
John David Anglin [Sat, 1 Jun 2002 00:35:19 +0000 (00:35 +0000)]
pa-linux.h (WCHAR_UNSIGNED): Define to 0.
* pa-linux.h (WCHAR_UNSIGNED): Define to 0.
* pa.h (WCHAR_UNSIGNED): Define to 1.
From-SVN: r54126
John David Anglin [Fri, 31 May 2002 20:54:27 +0000 (20:54 +0000)]
pa.c (output_millicode_call): Correct "be,l" insn for TARGET_PA_20.
* pa.c (output_millicode_call): Correct "be,l" insn for TARGET_PA_20.
(output_call): Likewise.
From-SVN: r54120
Roman Lechtchinsky [Fri, 31 May 2002 19:36:15 +0000 (19:36 +0000)]
configure.in: Fix typo in the code checking for sys_errlist.
* configure.in: Fix typo in the code checking for sys_errlist.
* configure: Regenerated.
From-SVN: r54115
GCC Administrator [Fri, 31 May 2002 07:16:38 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r54092
Richard Henderson [Thu, 30 May 2002 23:13:20 +0000 (16:13 -0700)]
re PR rtl-optimization/6822 (GCC 3.1.1 - Internal compiler error in extract_insn, at recog.c:2132)
PR optimization/6822
* config/i386/i386.c (ix86_expand_int_movcc): Don't cast INTVAL
to unsigned int for op1 comparisons. Use gen_int_mode.
* gcc.c-torture/compile/
20020530 -1.c: New.
Co-Authored-By: Eric Botcazou <ebotcazou@multimania.com>
From-SVN: r54078
No Author [Thu, 30 May 2002 23:13:20 +0000 (23:13 +0000)]
This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.
From-SVN: r54077
Marc Espie [Thu, 30 May 2002 21:12:55 +0000 (21:12 +0000)]
configure.in: Always check for sys/types.h.
2002-05-30 Marc Espie <espie@openbsd.org>
* configure.in: Always check for sys/types.h.
* configure: Regenerate.
From-SVN: r54073
Marc Espie [Thu, 30 May 2002 20:42:33 +0000 (20:42 +0000)]
config.gcc (sparc64-*-openbsd*): New.
2002-05-30 Marc Espie <espie@openbsd.org>
* config.gcc (sparc64-*-openbsd*): New.
* config/sparc/openbsd1-64.h: New.
* config/sparc/openbsd64.h: New.
From-SVN: r54068
No Author [Thu, 30 May 2002 20:42:33 +0000 (20:42 +0000)]
This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.
From-SVN: r54067
Jason Thorpe [Thu, 30 May 2002 17:25:07 +0000 (17:25 +0000)]
netbsd-elf.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Set to 96 if not __mc68010__.
* config/m68k/netbsd-elf.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Set to
96 if not __mc68010__.
From-SVN: r54060
Andreas Schwab [Thu, 30 May 2002 12:42:27 +0000 (12:42 +0000)]
sysv4.h (DO_SELECT_SECTION): Also handle FUNCTION_DECLs.
* config/ia64/sysv4.h (DO_SELECT_SECTION): Also handle
FUNCTION_DECLs.
From-SVN: r54056
GCC Administrator [Thu, 30 May 2002 07:16:46 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r54044
Jason Thorpe [Thu, 30 May 2002 04:00:33 +0000 (04:00 +0000)]
netbsd64.h (CPP_LP64_SPEC): Define.
* config/i386/netbsd64.h (CPP_LP64_SPEC): Define.
(CPP_SUBTARGET_SPEC): Define.
(SUBTARGET_EXTRA_SPECS): Redefine, adding cpp_lp64 and
cpp_subtarget specs.
(CPP_SPEC): Redefine to include %(cpp_subtarget).
From-SVN: r54041
Hans-Peter Nilsson [Thu, 30 May 2002 00:50:06 +0000 (00:50 +0000)]
md.texi (Patterns): Note pattern condition pitfall for unnamed insn.
* doc/md.texi (Patterns): Note pattern condition pitfall
for unnamed insn.
From-SVN: r54033
Jason Thorpe [Wed, 29 May 2002 23:30:17 +0000 (23:30 +0000)]
netbsd-elf.c (CPP_SUBTARGET_SPEC64): Remove -D__arch64__.
* config/sparc/netbsd-elf.c (CPP_SUBTARGET_SPEC64): Remove
-D__arch64__. Add -D_LP64.
(CPP_ARCH32_SPEC): Redefine to match the non-bi-arch version
from sparc.h.
(CPP_ARCH64_SPEC): Likewise.
(NO_BUILTIN_PTRDIFF_TYPE): Undef.
(NO_BUILTIN_SIZE_TYPE): Undef.
From-SVN: r54029
Jason Thorpe [Wed, 29 May 2002 22:33:00 +0000 (22:33 +0000)]
* config.gcc (alpha-*-netbsd*): Don't use crtstuff.
From-SVN: r54025
Jason Thorpe [Wed, 29 May 2002 22:12:47 +0000 (22:12 +0000)]
* config/alpha/netbsd.h (CPP_PREDEFINES): Add -D_LP64.
From-SVN: r54024
Richard Henderson [Wed, 29 May 2002 20:34:28 +0000 (13:34 -0700)]
i386.c (ix86_compute_frame_layout): Do add bottom alignment for alloca.
* config/i386/i386.c (ix86_compute_frame_layout): Do add bottom
alignment for alloca.
* gcc.c-torture/execute/alloca-1.c: New.
From-SVN: r54020
No Author [Wed, 29 May 2002 20:34:28 +0000 (20:34 +0000)]
This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.
From-SVN: r54019
Neil Booth [Wed, 29 May 2002 19:26:04 +0000 (19:26 +0000)]
re PR preprocessor/6844 (Seg fault when trying to preprocess a file with lots of #define's)
PR preprocessor/6844
* cppmacro.c (cpp_macro_definition): Reserve space for terminating
NUL.
From-SVN: r54013
Joel Sherrill [Wed, 29 May 2002 17:17:02 +0000 (17:17 +0000)]
rs6000.h (ASM_CPU_SPEC): Use -m403 and -m405.
2002-05-29 Joel Sherrill <joel@OARcorp.com>
* config/rs6000/rs6000.h (ASM_CPU_SPEC): Use -m403 and -m405.
From-SVN: r54008
Hans-Peter Nilsson [Wed, 29 May 2002 16:26:00 +0000 (16:26 +0000)]
re PR target/6838 (cris-elf ICE (gcc 3.1))
PR target/6838
* config/cris/cris.md: Fix typos and thinkos in comments.
(splitter for mov_sideqi_mem, mov_sidehi_mem, mov_sidesi_mem):
Remove spurious mode specifier on operand 2.
From-SVN: r54003
Hans-Peter Nilsson [Wed, 29 May 2002 16:18:20 +0000 (16:18 +0000)]
* gcc.c-torture/execute/
20020529 -1.c: New test.
From-SVN: r54001
No Author [Wed, 29 May 2002 16:18:20 +0000 (16:18 +0000)]
This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.
From-SVN: r54000
Ulrich Weigand [Wed, 29 May 2002 13:27:28 +0000 (13:27 +0000)]
s390.c (legitimate_pic_operand_p): Do not accept symbolic LARL operands.
* config/s390/s390.c (legitimate_pic_operand_p): Do not
accept symbolic LARL operands.
(s390_emit_epilogue): Do not set FRAME_RELATED_P on
epilogue insns.
From-SVN: r53992
Nick Clifton [Wed, 29 May 2002 10:59:21 +0000 (10:59 +0000)]
(libstdc++-v3-init): Rebuild the wrapper file every time this proc is called.
From-SVN: r53989
GCC Administrator [Wed, 29 May 2002 07:17:18 +0000 (07:17 +0000)]
Daily bump.
From-SVN: r53983
Loren J. Rittle [Wed, 29 May 2002 01:07:35 +0000 (01:07 +0000)]
c++config (__USE_MALLOC): Report case where the user improperly defined it on the command line.
libstdc++/6641
* include/bits/c++config (__USE_MALLOC): Report case where
the user improperly defined it on the command line.
From-SVN: r53979
Marc Espie [Tue, 28 May 2002 21:29:47 +0000 (21:29 +0000)]
openbsd.h (HAVE_GAS_MAX_SKIP_P2ALIGN): Remove, inherited from gas.h.
* config/i386/openbsd.h (HAVE_GAS_MAX_SKIP_P2ALIGN): Remove,
inherited from gas.h.
(ASM_QUAD): Undef. OpenBSD does not support it.
From-SVN: r53972
Danny Smith [Tue, 28 May 2002 21:24:02 +0000 (21:24 +0000)]
install.texi (binaries): Change mingw binaries link to www.mingw.org.
* doc/install.texi (binaries): Change mingw binaries
link to www.mingw.org.
From-SVN: r53970
Richard Henderson [Tue, 28 May 2002 20:29:43 +0000 (13:29 -0700)]
i386.c (ix86_compute_frame_layout): Do not add bottom alignment for leaf functions.
* config/i386/i386.c (ix86_compute_frame_layout): Do not add
bottom alignment for leaf functions.
From-SVN: r53966
Bo Thorsen [Tue, 28 May 2002 09:22:08 +0000 (09:22 +0000)]
ffi.c (ffi_prep_incoming_args_SYSV): Remove avn here too.
2002-05-28 Bo Thorsen <bo@suse.de>
* src/x86/ffi.c (ffi_prep_incoming_args_SYSV): Remove avn
here too.
From-SVN: r53954
GCC Administrator [Tue, 28 May 2002 07:17:48 +0000 (07:17 +0000)]
Daily bump.
From-SVN: r53948
Roger Sayle [Tue, 28 May 2002 07:05:52 +0000 (07:05 +0000)]
* src/x86/ffi.c (ffi_prep_args): Remove reference to avn.
From-SVN: r53945
Benjamin Kosnik [Mon, 27 May 2002 15:07:15 +0000 (15:07 +0000)]
misc-inst.cc: Define unnecessary algorithm instantiations.
2002-05-27 Benjamin Kosnik <bkoz@redhat.com>
* src/misc-inst.cc: Define unnecessary algorithm
instantiations. Break apart instantiations into groupings below.
* src/fstream-inst.cc: New.
* src/io-inst.cc: New.
* src/istream-inst.cc: New.
* src/ostream-inst.cc: New.
* src/streambuf-inst.cc: New.
* src/sstream-inst.cc: New.
* src/Makefile.am (sources): Add files.
* src/Makefile.in: Regenerate.
* acinclude.m4: Work around automake 1.4-p5 bug, change
AM_GNU_GETTEXT in comments to AM-GNU-GETTEXT.
From-SVN: r53933
No Author [Mon, 27 May 2002 15:07:15 +0000 (15:07 +0000)]
This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.
From-SVN: r53932
Benjamin Kosnik [Mon, 27 May 2002 15:01:30 +0000 (15:01 +0000)]
misc-inst.cc: Define unnecessary algorithm instantiations.
2002-05-27 Benjamin Kosnik <bkoz@redhat.com>
* src/misc-inst.cc: Define unnecessary algorithm
instantiations. Break apart instantiations into groupings below.
* src/fstream-inst.cc: New.
* src/io-inst.cc: New.
* src/istream-inst.cc: New.
* src/ostream-inst.cc: New.
* src/streambuf-inst.cc: New.
* src/sstream-inst.cc: New.
* src/Makefile.am (sources): Add files.
* src/Makefile.in: Regenerate.
* acinclude.m4: Work around automake 1.4-p5 bug, change
AM_GNU_GETTEXT in comments to AM-GNU-GETTEXT.
From-SVN: r53931
Bo Thorsen [Mon, 27 May 2002 13:52:44 +0000 (13:52 +0000)]
ffi.c (ffi_prep_args): Remove unused variable and fix formatting.
2002-05-24 Bo Thorsen <bo@suse.co.uk>
* src/x86/ffi.c (ffi_prep_args): Remove unused variable and
fix formatting.
From-SVN: r53925
Benjamin Kosnik [Mon, 27 May 2002 11:50:17 +0000 (11:50 +0000)]
re PR libstdc++/6795 (stringbuf failure)
2002-05-27 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/6795.
* config/os/solaris/solaris2.6/bits/ctype_noninline.h
(classic_table): Fix.
* config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
2002-05-27 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/22_locale/ctype_is_wchar_t.cc: Guard with
_GLIBCPP_USE_WCHAR_T.
* testsuite/22_locale/ctype_narrow_wchar_t.cc: Same.
* testsuite/22_locale/ctype_to_wchar_t.cc: Same.
* testsuite/22_locale/ctype_widen_wchar_t.cc: Same.
From-SVN: r53922
Jan Hubicka [Mon, 27 May 2002 08:40:43 +0000 (10:40 +0200)]
reload.c (find_valid_class): Accept new argument DEST, choose class accordingly.
* reload.c (find_valid_class): Accept new argument DEST,
choose class accordingly.
(push_reload): Update callers.
From-SVN: r53919
GCC Administrator [Mon, 27 May 2002 07:16:54 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r53914
Richard Henderson [Mon, 27 May 2002 05:48:20 +0000 (22:48 -0700)]
[multiple changes]
2002-05-25 Richard Henderson <rth@redhat.com>
* c-pragma.c (apply_pragma_weak): Convert value identifier to
string for decl_attributes.
(handle_pragma_weak): Call assemble_alias if we're modifying
an existing decl.
* gcc.dg/weak-9.c: New.
2002-05-15 Richard Henderson <rth@redhat.com>
* varasm.c (merge_weak): Remove special case for extern and common.
2002-05-15 Richard Henderson <rth@redhat.com>
* varasm.c (merge_weak): Error for any weakening after definition.
Adjust weakening after use warning to catch more cases.
(assemble_alias): Set TREE_USED and TREE_ASM_WRITTEN consistently.
* config/alpha/alpha.c (alpha_encode_section_info): Do not abort.
* gcc.dg/weak-5.c (vfoo1c): No warning here.
(vfoo1f): Warning here.
(vfoo1l): Don't redefine the alias.
2002-03-02 Richard Henderson <rth@redhat.com>
* attribs.c (handle_alias_attribute): Don't call assemble_alias.
* toplev.c (rest_of_decl_compilation): Invoke assemble_alias when
needed.
From-SVN: r53910
No Author [Mon, 27 May 2002 05:48:20 +0000 (05:48 +0000)]
This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.
From-SVN: r53909
Jakub Jelinek [Sun, 26 May 2002 19:58:07 +0000 (21:58 +0200)]
cse.c (fold_rtx): Don't optimize if SUBREG changes mode class.
* cse.c (fold_rtx): Don't optimize if SUBREG changes mode class.
* g++.dg/opt/cse2.C: New test.
From-SVN: r53904
Richard Henderson [Sun, 26 May 2002 19:06:44 +0000 (12:06 -0700)]
Fix typo last change.
From-SVN: r53903
Carlo Wood [Sun, 26 May 2002 14:45:43 +0000 (14:45 +0000)]
re PR libstdc++/6811 (Missing 'return *this' in __enc_traits& operator=(const __enc_traits& __obj)' in 3.1 release)
2002-05-26 Carlo Wood <carlo@alinoe.com>
Paolo Carlini <pcarlini@unitus.it>
PR libstdc++/6811
* config/locale/ieee_1003.1-2001/codecvt_specializations.h
(__enc_traits::operator=): add missing return statement.
Co-Authored-By: Paolo Carlini <pcarlini@unitus.it>
From-SVN: r53897
Joseph Myers [Sun, 26 May 2002 10:35:14 +0000 (11:35 +0100)]
gnatvsn.ads (Gnat_Version_String): Change to "3.1.1
20020526 (prerelease)".
gcc/ada:
* gnatvsn.ads (Gnat_Version_String): Change to "3.1.1
20020526
(prerelease)".
maintainer-scripts:
* gcc_release: Add gcc/ada/gnatvsn.ads to list of files in which
release status is updated.
From-SVN: r53893
GCC Administrator [Sun, 26 May 2002 07:17:02 +0000 (07:17 +0000)]
Daily bump.
From-SVN: r53887
Richard Henderson [Sun, 26 May 2002 02:42:21 +0000 (19:42 -0700)]
sparc.c (sparc_output_mi_thunk): New implementation using rtl instead of fprintf.
* config/sparc/sparc.c (sparc_output_mi_thunk): New implementation
using rtl instead of fprintf.
* config/sparc/sparc.h (ASM_OUTPUT_MI_THUNK): Use it.
* config/sparc/sparc-protos.h: Update.
* g++.dg/opt/thunk1.C: New.
From-SVN: r53883
No Author [Sun, 26 May 2002 02:42:21 +0000 (02:42 +0000)]
This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.
From-SVN: r53882
Roman Lechtchinsky [Sun, 26 May 2002 01:43:14 +0000 (01:43 +0000)]
* gettextP.h (SWAP): Change parameter type to unsigned int.
From-SVN: r53879
Marek Michalkiewicz [Sat, 25 May 2002 22:15:26 +0000 (00:15 +0200)]
avr.c (avr_handle_progmem_attribute): Handle TYPE_DECL.
* config/avr/avr.c (avr_handle_progmem_attribute): Handle TYPE_DECL.
* config/avr/avr.c (machine_dependent_reorg): Sign extend the
CONST_INT operand to the correct mode after adding 1 to it.
From-SVN: r53877
GCC Administrator [Sat, 25 May 2002 07:16:30 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r53865
Roman Lechtchinsky [Fri, 24 May 2002 23:04:18 +0000 (23:04 +0000)]
unicosmk.h (REAL_VALUE_TO_TARGET_SINGLE, [...]): Define for native builds.
* config/alpha/unicosmk.h (REAL_VALUE_TO_TARGET_SINGLE,
REAL_VALUE_TO_TARGET_DOUBLE): Define for native builds.
From-SVN: r53859
Jakub Jelinek [Fri, 24 May 2002 21:26:54 +0000 (23:26 +0200)]
re PR other/6782 (Specifing "-fverbose-asm" option throws ICE.)
PR other/6782
* final.c (get_mem_expr_from_op): Return 0 if op is NULL.
* gcc.dg/verbose-asm.c: New test.
From-SVN: r53855
David Edelsohn [Fri, 24 May 2002 19:27:09 +0000 (19:27 +0000)]
aix43.h (LINK_SPEC): Add PE initializer.
* config/rs6000/aix43.h (LINK_SPEC): Add PE initializer.
(STARTFILE_SPEC): Delete PE crt0.o.
* config/rs6000/aix51.h: Same.
* config/rs6000/rs6000.h (ASM_WEAKEN_DECL): Append [DS] to
function descriptor symbol. Use RS6000_OUTPUT_BASENAME.
(ASM_OUTPUT_DEF_FROM_DECLS): Use RS6000_OUTPUT_BASENAME.
* config/rs6000/xcoff.h (ASM_OUTPUT_DEF): Define.
From-SVN: r53852
Richard Henderson [Fri, 24 May 2002 19:22:11 +0000 (12:22 -0700)]
varasm.c (asm_output_bss): Always output one byte.
* varasm.c (asm_output_bss): Always output one byte.
* config/alpha/elf.h (ASM_OUTPUT_ALIGNED_LOCAL): Likewise.
From-SVN: r53850
Neil Booth [Fri, 24 May 2002 19:13:48 +0000 (19:13 +0000)]
re PR preprocessor/6780 (Incorrect diagnosis of token pasting)
PR preprocessor/6780
* cppmacro.c (enter_macro_context): Clear state.angled_headers.
testsuite:
* gcc.dg/cpp/paste12.c: New test.
From-SVN: r53848
Phil Edwards [Fri, 24 May 2002 18:17:10 +0000 (18:17 +0000)]
re PR libstdc++/6282 (bitset<0> results in nonsense behavior)
2002-05-24 Phil Edwards <pme@gcc.gnu.org>
PR libstdc++/6282
* include/std/std_bitset.h (_Base_biteset<0>): New specialization.
(operator>>): If nothing was extracted, don't fail in the
zero-length case.
* testsuite/23_containers/bitset_ctor.cc (test02): New test.
From-SVN: r53845
Benjamin Kosnik [Fri, 24 May 2002 16:15:27 +0000 (16:15 +0000)]
[multiple changes]
2002-05-24 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/6701
* testsuite/22_locale/ctype_narrow_char.cc: New.
* testsuite/22_locale/ctype_narrow_wchar_t.cc: New.
* testsuite/22_locale/ctype_widen_char.cc: New.
* testsuite/22_locale/ctype_widen_wchar_t.cc: New.
* testsuite/22_locale/ctype_members_char.cc: Move some bits into...
* testsuite/22_locale/ctype_is_char.cc: ...this.
* testsuite/22_locale/ctype_to_char.cc: ...and this.
* testsuite/22_locale/ctype_members_wchar_t.cc: Move some bits into...
* testsuite/22_locale/ctype_is_wchar_t.cc: ...this.
* testsuite/22_locale/ctype_to_wchar_t.cc: ...and this.
* testsuite/22_locale/ctype_scan_wchar_t.cc: Should pass.
2002-05-24 Dale Peakall <dale@peakall.net>
PR libstdc++/6701
* config/locale/gnu/ctype_members.cc (ctype<wchar_t>::do_narrow): Fix.
* config/locale/generic/ctype_members.cc: Same.
From-SVN: r53843
No Author [Fri, 24 May 2002 16:15:27 +0000 (16:15 +0000)]
This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.
From-SVN: r53842
Benjamin Kosnik [Fri, 24 May 2002 15:57:47 +0000 (15:57 +0000)]
re PR libstdc++/6750 (ofstream incorrectly sets failbit (severe regression))
2002-05-24 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/6750
* include/bits/ostream.tcc (ostream::operator<<(const char*)): Fix
for empty string literal.
(ostream::operator<<(const _CharT*)): Same.
(ostream<char>::operator<<(const char*)): Same.
(ostream<char>::operator<<(streambuf*)): Same.
* testsuite/27_io/ostream_inserter_char.cc (test08): Add tests.
* testsuite/27_io/ostream_inserter_other.cc (test02): Modify.
From-SVN: r53840
Richard Earnshaw [Fri, 24 May 2002 12:23:36 +0000 (12:23 +0000)]
bitmap.c (bitmap_find_bit): Return early if we have the correct element cached.
2002-05-21 Richard Earnshaw <rearnsha@arm.com>
* bitmap.c (bitmap_find_bit): Return early if we have the correct
element cached.
From-SVN: r53838
Neil Booth [Fri, 24 May 2002 09:27:00 +0000 (09:27 +0000)]
cppinit.c (mark_named_operators): Split out from init_builtins.
* cppinit.c (mark_named_operators): Split out from init_builtins.
(struct builtin): Remove operator.
(CPLUS, OPERATOR, O): Kill
(struct named_op): New.
(cpp_finish_options): Call it from here instead.
(init_builtins): Don't do named operators.
testsuite:
* g++.dg/parse/named_ops.C: New test.
From-SVN: r53832
No Author [Fri, 24 May 2002 09:27:00 +0000 (09:27 +0000)]
This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.
From-SVN: r53831
GCC Administrator [Fri, 24 May 2002 07:16:48 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r53823
David S. Miller [Fri, 24 May 2002 07:06:29 +0000 (00:06 -0700)]
cselib.c (max_value_regs): New.
2002-05-20 David S. Miller <davem@redhat.com>
* cselib.c (max_value_regs): New.
(cselib_lookup, cselib_invalidate_regno): Initialize it when
adding new entries to the REG_VALUES table and we are dealing with
a hard register.
(clear_table): Initialize it.
(cselib_invalidate_regno): Use it to determine which hard
registers to scan when mode is not VOIDmode.
From-SVN: r53821
Bruce Korb [Fri, 24 May 2002 01:51:51 +0000 (01:51 +0000)]
more clarifications
From-SVN: r53818
Alan Modra [Thu, 23 May 2002 23:22:44 +0000 (23:22 +0000)]
* config/rs6000/rs6000.c (output_toc): Mask longs to 32 bits.
From-SVN: r53816
Hans Boehm [Thu, 23 May 2002 21:24:38 +0000 (21:24 +0000)]
linux.h (IA64_GATE_AREA_END): Adjust for 64K pages.
* config/ia64/linux.h (IA64_GATE_AREA_END): Adjust for 64K
pages.
From-SVN: r53808
Rainer Orth [Thu, 23 May 2002 18:51:30 +0000 (18:51 +0000)]
configure.in: Update local install.html, configopts.html paths.
* configure.in: Update local install.html, configopts.html paths.
* configure: Regenerate.
From-SVN: r53802
Neil Booth [Thu, 23 May 2002 18:12:39 +0000 (18:12 +0000)]
* objc.dg/const-str-2.m: Fix test.
From-SVN: r53799
Neil Booth [Thu, 23 May 2002 17:57:46 +0000 (17:57 +0000)]
re PR preprocessor/6517 (gcc hangs on C compile with multiple "-I-")
PR preprocessor/6517
* Makefile.in: Update.
* c-common.c (c_common_post_options): Add preprocessor
errors to the error count.
* c-lang.c (c_post_options): Kill.
(LANG_HOOKS_POST_OPTIONS): Use c_common_post_options.
* hooks.h: Add header guards.
* langhooks-def.h: Include hooks.h.
(LANG_HOOKS_POST_OPTIONS): Update.
* langhooks.h (struct lang_hooks): Update post_options.
* toplev.c (parse_options_and_default_flags): Update.
cp:
* cp-lang.c (LANG_HOOKS_POST_OPTIONS): Use c_common_post_options.
* cp-tree.h (cxx_post_options): Kill.
* cp-lex.c (cxx_post_options): Kill.
objc:
* objc-lang.c (objc_post_options): Kill.
(LANG_HOOKS_POST_OPTIONS): Use c_common_post_options.
From-SVN: r53797
Rainer Orth [Thu, 23 May 2002 17:01:30 +0000 (17:01 +0000)]
testsuite_hooks.h (__set_testsuite_memlimit): Retrieve current limits before setting.
* testsuite/testsuite_hooks.h (__set_testsuite_memlimit): Retrieve
current limits before setting.
From-SVN: r53795
Rainer Orth [Thu, 23 May 2002 16:58:49 +0000 (16:58 +0000)]
re PR target/6755 (.../gcc-3.1/libstdc++-v3/configure script fails for mips-sgi-irix6.2)
* acinclude.m4 (enable_symvers): Quote $LD.
* aclocal.m4: Regenerate.
* configure: Likewise.
Fixes PR target/6755.
From-SVN: r53794