]>
git.ipfire.org Git - thirdparty/gcc.git/log
Jan Hubicka [Sat, 16 Nov 2002 01:55:47 +0000 (02:55 +0100)]
jump.c (tablejump_p): New.
* jump.c (tablejump_p): New.
* cfgcleanup.c (try_optimize_cfg): Do not merge blocks across tablejump.
* rtl.h (tablejump_p): Declare.
From-SVN: r59149
Graham Stott [Sat, 16 Nov 2002 00:46:44 +0000 (00:46 +0000)]
flow.c (life_analysis): Update LABEL_NUSES before purging dead jumptables.
* flow.c (life_analysis): Update LABEL_NUSES before purging
dead jumptables.
From-SVN: r59146
GCC Administrator [Fri, 15 Nov 2002 08:16:28 +0000 (08:16 +0000)]
Daily bump.
From-SVN: r59120
Mike Stump [Thu, 14 Nov 2002 19:01:03 +0000 (19:01 +0000)]
Update various Apple people from information on mainline.
From-SVN: r59110
Gabriel Dos Reis [Thu, 14 Nov 2002 18:30:35 +0000 (18:30 +0000)]
MAINTAINERS: Remove from write-after-approval-list, uniformize email.
* MAINTAINERS: Remove from write-after-approval-list, uniformize
email.
From-SVN: r59109
Stuart Hastings [Thu, 14 Nov 2002 17:26:36 +0000 (17:26 +0000)]
Add myself to write-after-approval list, 3.2 branch.
From-SVN: r59105
GCC Administrator [Thu, 14 Nov 2002 08:16:31 +0000 (08:16 +0000)]
Daily bump.
From-SVN: r59099
Janis Johnson [Wed, 13 Nov 2002 21:17:09 +0000 (21:17 +0000)]
install.texi (Testing): Document extra Java testing.
2002-11-13 Janis Johnson <janis187@us.ibm.com>
* doc/install.texi (Testing): Document extra Java testing.
* doc/sourcebuild.texi (Test Suites): Document libgcj testing.
From-SVN: r59087
Benjamin Kosnik [Wed, 13 Nov 2002 18:42:41 +0000 (18:42 +0000)]
linker-map.gnu: Export all _S_construct.
2002-11-13 Benjamin Kosnik <bkoz@redhat.com>
* config/linker-map.gnu: Export all _S_construct.
From-SVN: r59081
GCC Administrator [Wed, 13 Nov 2002 08:16:34 +0000 (08:16 +0000)]
Daily bump.
From-SVN: r59067
Franz Sirl [Tue, 12 Nov 2002 21:13:27 +0000 (21:13 +0000)]
install.texi (powerpc-*-linux-gnu*): Update binutils requirement.
2002-11-12 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* doc/install.texi (powerpc-*-linux-gnu*): Update binutils requirement.
From-SVN: r59058
Gerald Pfeifer [Tue, 12 Nov 2002 13:06:12 +0000 (14:06 +0100)]
contrib.texi (Contributors): Use GCJ instead of gcj to refer to that entire project.
* doc/contrib.texi (Contributors): Use GCJ instead of gcj to refer
to that entire project.
From-SVN: r59049
Rainer Orth [Tue, 12 Nov 2002 11:14:07 +0000 (11:14 +0000)]
t-iris6 (MULTILIB_OSDIRNAMES): Restore old directories.
* config/mips/t-iris6 (MULTILIB_OSDIRNAMES): Restore old
directories.
From-SVN: r59046
GCC Administrator [Tue, 12 Nov 2002 08:16:34 +0000 (08:16 +0000)]
Daily bump.
From-SVN: r59041
Tom Tromey [Mon, 11 Nov 2002 22:22:31 +0000 (22:22 +0000)]
dostime.c (dos2unixtime): Mask for seconds is 0x1f.
* dostime.c (dos2unixtime): Mask for seconds is 0x1f. Correctly
compute month.
(unix2dostime): Handle years before 1980. Correctly compute month
and day of month.
From-SVN: r59029
Janis Johnson [Mon, 11 Nov 2002 21:05:13 +0000 (21:05 +0000)]
contrib.texi: Merge in the list from the libstdc++ web pages.
2002-11-11 Janis Johnson <janis187@us.ibm.com>
* doc/contrib.texi: Merge in the list from the libstdc++ web pages.
From-SVN: r59025
Franz Sirl [Mon, 11 Nov 2002 20:55:31 +0000 (20:55 +0000)]
re PR c/8467 (Bug in sibling call optimization)
2002-11-11 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
PR c/8467
* gcc.c-torture/execute/
20021111 -1.c
From-SVN: r59023
Franz Sirl [Mon, 11 Nov 2002 20:52:30 +0000 (20:52 +0000)]
re PR c/8467 (Bug in sibling call optimization)
2002-11-11 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
PR c/8467
* stmt.c (tail_recursion_args): Handle DECL_MODE differing from the
mode of DECL_RTL case.
From-SVN: r59022
Nathan Sidwell [Mon, 11 Nov 2002 12:42:17 +0000 (12:42 +0000)]
re PR c++/7788 (g++-3.2 internal error: Segmentation fault)
cp:
PR c++/7788
* rtti.c (unemitted_tinfo_decl_p): Check it has a field.
testsuite:
PR c++/7788
* g++.dg/rtti/crash1.C: New test.
From-SVN: r59021
GCC Administrator [Mon, 11 Nov 2002 08:16:25 +0000 (08:16 +0000)]
Daily bump.
From-SVN: r59015
Neil Booth [Mon, 11 Nov 2002 06:38:48 +0000 (06:38 +0000)]
re PR preprocessor/4890 (inconsistent int-to-pointer warning)
PR preprocessor/4890
* tradcpp.c (output_line_command): When leaving a file,
system_include_depth has not yet been decremented.
From-SVN: r59010
Joel Sherrill [Mon, 11 Nov 2002 06:01:39 +0000 (06:01 +0000)]
t-crtstuff (crti.o): Use this...
* config/m68k/t-crtstuff (crti.o): Use this...
($(T)crti.o): ... instead.
(crtn.o): Use this...
($(T)crtn.o): ... instead.
From-SVN: r59007
Ralf Corsepius [Mon, 11 Nov 2002 05:57:14 +0000 (05:57 +0000)]
* config/mips/mips.md (movdi_usd): Use %z1 in place of %1.
From-SVN: r59006
Graham Stott [Mon, 11 Nov 2002 03:36:01 +0000 (03:36 +0000)]
re PR middle-end/8502 (wrong code generated for switch statement)
PR 8502
* cfgrtl.c (try_redirect_by_replacing_jump): Do not kill computed
jumps post reload.
Co-Authored-By: Jan Hubicka <jh@suse.cz>
From-SVN: r59003
GCC Administrator [Sun, 10 Nov 2002 08:16:28 +0000 (08:16 +0000)]
Daily bump.
From-SVN: r58973
GCC Administrator [Sat, 9 Nov 2002 08:16:27 +0000 (08:16 +0000)]
Daily bump.
From-SVN: r58945
H.J. Lu [Fri, 8 Nov 2002 22:12:37 +0000 (22:12 +0000)]
Fix c/5351 and optimization/7591.
2002-11-08 H.J. Lu <hjl@gnu.org>
Fix c/5351 and optimization/7591.
* calls.c (store_one_arg): Remove ATTRIBUTE_UNUSED on
variable_size. Mark any slots used for the argument as in-use
only if we can't pass all arguments to a library call in
registers.
From-SVN: r58937
Neil Booth [Fri, 8 Nov 2002 21:21:10 +0000 (21:21 +0000)]
* MAINTAINERS: Fix email address.
From-SVN: r58936
GCC Administrator [Fri, 8 Nov 2002 08:16:31 +0000 (08:16 +0000)]
Daily bump.
From-SVN: r58915
Hans-Peter Nilsson [Thu, 7 Nov 2002 21:17:18 +0000 (21:17 +0000)]
wint_t-1.c, [...]: Remove excess-errors markers.
* gcc.dg/wint_t-1.c, gcc.dg/wchar_t-1.c: Remove excess-errors
markers.
From-SVN: r58906
H.J. Lu [Thu, 7 Nov 2002 17:46:18 +0000 (17:46 +0000)]
Fix bootstrap/8146 and gcc.c-torture/execute/
20020307 -2.c with -march=i686.
2002-11-07 H.J. Lu <hjl@gnu.org>
Fix bootstrap/8146 and
gcc.c-torture/execute/
20020307 -2.c with -march=i686.
* calls.c (PUSH_ARGS_REVERSED): Define only if not defined.
* expr.c (PUSH_ARGS_REVERSED): Likewise.
* config/i386/i386.h (PUSH_ARGS_REVERSED): Set to 1.
From-SVN: r58898
Tom Tromey [Thu, 7 Nov 2002 14:09:37 +0000 (14:09 +0000)]
dostime.c: Rewrote from scratch.
* dostime.c: Rewrote from scratch.
* dostime.h (dostime): Removed.
From-SVN: r58893
GCC Administrator [Thu, 7 Nov 2002 08:16:28 +0000 (08:16 +0000)]
Daily bump.
From-SVN: r58880
Aldy Hernandez [Thu, 7 Nov 2002 07:04:20 +0000 (07:04 +0000)]
Fix c/8252.
2002-11-04 Aldy Hernandez <aldyh@redhat.com>
Fix c/8252.
* config/rs6000/rs6000.c (rs6000_legitimate_address): Disallow
vectors from PRE_INC/DEC.
From-SVN: r58878
David Edelsohn [Thu, 7 Nov 2002 00:42:18 +0000 (19:42 -0500)]
Add PR number
From-SVN: r58874
David Edelsohn [Thu, 7 Nov 2002 00:24:48 +0000 (00:24 +0000)]
* testsuite/abi_check.cc: Add guards to prevent -mpower ICE.
From-SVN: r58872
Richard Henderson [Thu, 7 Nov 2002 00:22:48 +0000 (16:22 -0800)]
re PR rtl-optimization/7520 (internal compiler error in verify_local_live_at_start)
PR optimization/7520
* cfganal.c (flow_active_insn_p): New.
(forwarder_block_p): Use it.
From-SVN: r58871
Janis Johnson [Thu, 7 Nov 2002 00:06:21 +0000 (00:06 +0000)]
contrib.texi: Merge in the list from the Java web pages.
2002-11-06 Janis Johnson <janis187@us.ibm.com>
* doc/contrib.texi: Merge in the list from the Java web pages.
From-SVN: r58870
David O'Brien [Wed, 6 Nov 2002 21:30:59 +0000 (21:30 +0000)]
freebsd.h: Fix typo.
2002-11-06 David O'Brien <obrien@FreeBSD.org>
* config/sparc/freebsd.h: Fix typo.
From-SVN: r58866
GCC Administrator [Wed, 6 Nov 2002 08:16:25 +0000 (08:16 +0000)]
Daily bump.
From-SVN: r58852
Jonathan Wakely [Wed, 6 Nov 2002 00:22:38 +0000 (00:22 +0000)]
std_sstream.h (basic_stringbuf::str(const __string_type&)): Prefer data() to c_str() thus avoiding assigning the unnecessary NULL-terminator.
2002-11-05 Jonathan Wakely <cow@compsoc.man.ac.uk>
* include/std/std_sstream.h
(basic_stringbuf::str(const __string_type&)):
Prefer data() to c_str() thus avoiding assigning the
unnecessary NULL-terminator.
From-SVN: r58846
Benjamin Kosnik [Wed, 6 Nov 2002 00:08:37 +0000 (00:08 +0000)]
re PR libstdc++/8258 (basic_istream::readsome() with default buffer change stream state to ios_base::eofbit)
2002-11-05 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/8258
* include/bits/istream.tcc (istream::readsome): Don't set eofbit
for null buffer.
(istream::operator>>(_CharT*)): Use traits_type.
(istream::ws): Same.
(istream::operator>>(string)): Same.
* testsuite/27_io/istream_unformatted.cc (test11): Add.
From-SVN: r58845
Benjamin Kosnik [Tue, 5 Nov 2002 23:48:45 +0000 (23:48 +0000)]
re PR libstdc++/7219 (_GLIBCPP_DEPRECATED on (ios_base::streamoff and ios_base::streampos types))
2002-11-05 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/7219
* include/bits/ios_base.h (ios_base::streampos): Add.
(ios_base::streamoff): Add.
* testsuite/27_io/ios_base_type.cc: New.
From-SVN: r58841
Paolo Carlini [Tue, 5 Nov 2002 23:35:40 +0000 (00:35 +0100)]
re PR libstdc++/8466 (basic_stringbuf::str(basic_string const&) modifies its argument)
2002-11-05 Paolo Carlini <pcarlini@unitus.it>
PR libstdc++/8466
* include/std/std_sstream.h
(basic_stringbuf::str(const __string_type&)):
Cannot use simple assignment since the COW-nature of v3
basic_string is not taken into account in basic_stringbuf.
* testsuite/27_io/stringstream_members.cc: Add test04 from PR.
From-SVN: r58839
Bob Wilson [Tue, 5 Nov 2002 21:33:24 +0000 (21:33 +0000)]
* config/xtensa/elf.h (LIB_SPEC): Add "-lhal".
From-SVN: r58836
Adam Nemet [Tue, 5 Nov 2002 18:31:20 +0000 (18:31 +0000)]
* MAINTAINERS (Write After Approval): Add myself.
From-SVN: r58826
Nick Clifton [Tue, 5 Nov 2002 09:00:13 +0000 (09:00 +0000)]
Fix typo in my email address.
From-SVN: r58819
GCC Administrator [Tue, 5 Nov 2002 08:16:25 +0000 (08:16 +0000)]
Daily bump.
From-SVN: r58814
Benjamin Kosnik [Tue, 5 Nov 2002 00:51:35 +0000 (00:51 +0000)]
[multiple changes]
2002-11-04 Benjamin Kosnik <bkoz@redhat.com>
* config/linker-map.gnu: Export string operator+.
Export __default_alloc_template::_S_force_new.
* testsuite/abi_check.cc: Output tweaks.
2002-11-04 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/8172
* src/string-inst.cc: Add instantiation.
2002-11-04 Christian Ehrhardt <ehrhardt@mathematik.uni-ulm.de>
PR libstdc++/8197
* config/link-map.gnu: Export math stubbs.
2002-11-04 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/8318
* include/std/std_iostream.h: Tweak.
* include/std/std_iosfwd.h: Add _GLIBCPP_USE_WCHAR_T.
* include/std/std_iomanip.h: Same.
* include/bits/stringfwd.h: Same.
* include/bits/basic_string.tcc: Same.
* include/bits/sstream.tcc: Same.
* include/bits/fstream.tcc: Same.
* include/bits/basic_ios.tcc: Same.
* include/bits/streambuf.tcc: Same.
* include/bits/locale_facets.tcc: Same.
From-SVN: r58805
Paolo Carlini [Tue, 5 Nov 2002 00:09:32 +0000 (01:09 +0100)]
MAINTAINERS (Write After Approval): Remove myself.
2002-11-05 Paolo Carlini <pcarlini@unitus.it>
* MAINTAINERS (Write After Approval): Remove myself.
(Various Maintainers: c++ runtime libs): Add myself.
From-SVN: r58803
Aldy Hernandez [Mon, 4 Nov 2002 18:39:45 +0000 (18:39 +0000)]
backport: re PR other/8451 (altivec ice in gcc 3.2)
2002-11-04 Aldy Hernandez <aldyh@redhat.com>
Backport patch to fix PR c/8451.
2002-04-25 Richard Henderson <rth@redhat.com>
* expmed.c (extract_bit_field): Fall through to generic code rather
than aborting on subreg special case.
From-SVN: r58796
GCC Administrator [Mon, 4 Nov 2002 08:16:24 +0000 (08:16 +0000)]
Daily bump.
From-SVN: r58788
Roger Sayle [Sun, 3 Nov 2002 23:45:49 +0000 (23:45 +0000)]
getopt.h: Avoid prototyping getopt with no arguments in C++.
* getopt.h: Avoid prototyping getopt with no arguments in C++.
Co-Authored-By: DJ Delorie <dj@redhat.com>
From-SVN: r58775
GCC Administrator [Sun, 3 Nov 2002 08:16:23 +0000 (08:16 +0000)]
Daily bump.
From-SVN: r58767
Zack Weinberg [Sat, 2 Nov 2002 10:28:50 +0000 (10:28 +0000)]
PR c/7353 redux
PR c/7353 redux
cp:
* decl2.c (grokfield): Reject TYPE_DECLs with initializers.
testsuite:
* g++.dg/ext/typedef-init.C, gcc.dg/typedef-init.C:
Add some more cases.
From-SVN: r58747
GCC Administrator [Sat, 2 Nov 2002 08:16:24 +0000 (08:16 +0000)]
Daily bump.
From-SVN: r58741
Mark Mitchell [Sat, 2 Nov 2002 00:57:26 +0000 (00:57 +0000)]
re PR c++/8391 (infinite loop in cp/decl2.c(finish_file))
PR c++/8391
* toplev.c (rest_of_compilation): Do not refuse to output code for
an inline function in a local class.
PR c++/8391
* g++.dg/opt/local1.C: New test.
From-SVN: r58733
David O'Brien [Fri, 1 Nov 2002 22:21:31 +0000 (22:21 +0000)]
freebsd.h (CPP_CPU64_DEFAULT_SPEC): Define __arch64__.
2002-11-01 David O'Brien <obrien@FreeBSD.org>
* config/sparc/freebsd.h (CPP_CPU64_DEFAULT_SPEC): Define __arch64__.
Add comment.
Approved by: Mark Mitchell <mark@codesourcery.com>
Message-ID: <
15490000 .
1036182355 @warlock.codesourcery.com>
From-SVN: r58731
David O'Brien [Fri, 1 Nov 2002 19:48:06 +0000 (19:48 +0000)]
freebsd.h (TRANSFER_FROM_TRAMPOLINE): Define __enable_execute_stack function.
2002-11-01 David O'Brien <obrien@FreeBSD.org>
* config/sparc/freebsd.h (TRANSFER_FROM_TRAMPOLINE): Define
__enable_execute_stack function.
Approved by: Mark Mitchell <mark@codesourcery.com>
Message-ID: <
79240000 .
1036086868 @warlock.codesourcery.com>
From-SVN: r58726
Benjamin Kosnik [Fri, 1 Nov 2002 16:27:30 +0000 (16:27 +0000)]
re PR libstdc++/8348 (fail() flag is set in istringstream when eof() flag is set !)
2002-11-01 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/8348
* include/bits/istream.tcc (istream::tellg): Remove sentry bits.
(istream::seekg): Same.
* testsuite/27_io/istream_seeks.cc (test06): New.
From-SVN: r58719
John Carter [Fri, 1 Nov 2002 15:25:27 +0000 (15:25 +0000)]
re PR libstdc++/7961 (compare( char *) implemented incorrectly.)
2002-11-01 John Carter <john.carter@tait.co.nz>
PR libstdc++/7961
* include/bits/basic_string.tcc
(compare(const _CharT* __s)): Don't access __s past its length.
From-SVN: r58718
Richard Earnshaw [Fri, 1 Nov 2002 14:40:23 +0000 (14:40 +0000)]
re PR target/7856 ([arm] invalid offset in constant pool reference)
PR target/7856
* arm.c (use_return_insn): Don't use a return insn if there are
saved integer regs, but LR is not one of them.
From-SVN: r58715
Gabriel Dos Reis [Fri, 1 Nov 2002 13:12:24 +0000 (13:12 +0000)]
re PR c++/2521 (ICE in build_ptrmemfunc, at cp/typeck.c:6087)
PR C++/2521
* typeck.c (build_x_unary_op): Handle pointer-to-member.
From-SVN: r58714
GCC Administrator [Fri, 1 Nov 2002 08:16:23 +0000 (08:16 +0000)]
Daily bump.
From-SVN: r58707
Hans-Peter Nilsson [Fri, 1 Nov 2002 04:59:13 +0000 (04:59 +0000)]
re PR other/3337 (build on linux-gnulibc1 fails: no sys/ucontext.h)
PR other/3337
PR bootstrap/6763
PR bootstrap/8122
* testsuite/testsuite_hooks.h (__set_testsuite_memlimit): Use
__typeof__ (r.rlim_cur), not rlim_t in declaration of limit.
From-SVN: r58702
Hans-Peter Nilsson [Fri, 1 Nov 2002 04:54:04 +0000 (04:54 +0000)]
testsuite_hooks.h (__set_testsuite_memlimit): Use __typeof__ (r.rlim_cur), not rlim_t in declaration of limit.
* testsuite/testsuite_hooks.h (__set_testsuite_memlimit): Use
__typeof__ (r.rlim_cur), not rlim_t in declaration of limit.
From-SVN: r58701
Jan Hubicka [Thu, 31 Oct 2002 18:39:32 +0000 (19:39 +0100)]
i386.c (override_options): Set defaults for flag_omit_frame_pointer...
* i386.c (override_options): Set defaults for flag_omit_frame_pointer,
flag_asynchronous_unwind_tables, flag_pcc_struct_return.
* i386.c (optimization_options): Set flag_omit_frame_pointer,
flag_asynchronous_unwind_tables, flag_pcc_struct_return to 2.
Do not clear -momit-leaf-frame-pointer when profiling.
(ix86_frame_pointer_required): Frame pointer is allways required when
profiling.
From-SVN: r58685
GCC Administrator [Thu, 31 Oct 2002 08:16:25 +0000 (08:16 +0000)]
Daily bump.
From-SVN: r58669
Mark Mitchell [Thu, 31 Oct 2002 00:02:35 +0000 (00:02 +0000)]
re PR c++/8160 (ICE in build_modify_expr, at cp/typeck.c:5494: Array initialization)
PR c++/8160
* g++.dg/template/complit1.C: New test.
PR c++/8149
* g++.dg/template/typename4.C: Likewise.
PR c++/8160
* typeck2.c (process_init_constructor): Call complete_array_type.
PR c++/8149
* decl.c (make_typename_type): Issue errors about invalid results.
From-SVN: r58662
Mark Mitchell [Wed, 30 Oct 2002 19:20:18 +0000 (19:20 +0000)]
re PR c++/8333 (c++ emits double .globals for symbols [ regression from 3.0.4 ])
PR c++/8333
* varasm.c (asm_output_aligned_bss): Do not call
ASM_GLOBALIZE_LABEL.
From-SVN: r58657
GCC Administrator [Wed, 30 Oct 2002 08:16:24 +0000 (08:16 +0000)]
Daily bump.
From-SVN: r58648
Mark Mitchell [Tue, 29 Oct 2002 23:51:12 +0000 (23:51 +0000)]
re PR c++/8287 (GCC3.2: Destructor called for non-constructed local object)
PR c++/8287
* decl.c (finish_destructor_body): Create the label to jump to
when returning from a destructor here.
(finish_function_body): Rather than here.
* g++.dg/init/dtor2.C: New test.
From-SVN: r58642
Mark Mitchell [Tue, 29 Oct 2002 21:12:36 +0000 (21:12 +0000)]
re PR c++/7363 (bogus __alignof__ implementation)
PR c++/7363
* semantics.c (finish_alignof): Call complete_type before calling
c_alignof.
* decl2.c (build_expr_from_tree): Use
finish_sizeof/finish_alignof.
* g++.dg/template/alignof1.C: New test.
From-SVN: r58634
Janis Johnson [Tue, 29 Oct 2002 16:35:04 +0000 (16:35 +0000)]
invoke.texi (-profile-arcs): Remove references to -a and -ax.
2002-10-29 Janis Johnson <janis187@us.ibm.com>
* doc/invoke.texi (-profile-arcs): Remove references to -a and -ax.
From-SVN: r58626
Eric Botcazou [Tue, 29 Oct 2002 14:17:33 +0000 (15:17 +0100)]
expr.c (expand_expr): Don't use simplify_binary_operation; check for zero operands explicitly.
* expr.c (expand_expr) [PLUS]: Don't use simplify_binary_operation;
check for zero operands explicitly.
From-SVN: r58622
GCC Administrator [Tue, 29 Oct 2002 08:16:29 +0000 (08:16 +0000)]
Daily bump.
From-SVN: r58615
Paolo Carlini [Tue, 29 Oct 2002 08:08:40 +0000 (09:08 +0100)]
re PR libstdc++/8347 (empty vector range used in string construction causes core dump.)
2002-10-29 Paolo Carlini <pcarlini@unitus.it>
PR libstdc++/8347
* include/bits/basic_string.tcc
(string::_S_construct(_InIter, _InIter, const _Alloc&,
forward_iterator_tag)): Do not throw logic error if
__beg == NULL && __end == __beg.
(string::string(const _CharT*, const _Alloc&)): Tweak.
* testsuite/21_strings/ctor_copy_dtor.cc: Add test05 from PR.
From-SVN: r58610
Andris Pavenis [Mon, 28 Oct 2002 21:53:38 +0000 (23:53 +0200)]
re PR fortran/8308 (gcc-3.x does not compile files with suffix .r (RATFOR))
2002-10-28 Andris Pavenis <pavenis@latnet.lv>
Toon Moene <toon@moene.indiv.nluug.nl>
PR fortran/8308
* lang-specs.h: Correct ratfor specs.
* news.texi: Document this fix.
Co-Authored-By: Toon Moene <toon@moene.indiv.nluug.nl>
From-SVN: r58605
Dale Johannesen [Mon, 28 Oct 2002 20:39:53 +0000 (20:39 +0000)]
re PR target/7133 (PPC: unrecognizable insn)
2002-10-21 Dale Johannesen <dalej@apple.com>
PR target/7133
* config/rs6000/rs6000.c (rs6000_reverse_condition): Handle
unsafe math reversals correctly for RTL generation.
(output_cbranch): Replace rs6000_reverse_condition call
by its former definition.
From-SVN: r58604
Kaveh Ghazi [Mon, 28 Oct 2002 18:17:22 +0000 (18:17 +0000)]
20021014 -1.c: Bypass errors on solaris2 and irix6.
* gcc.dg/
20021014 -1.c: Bypass errors on solaris2 and irix6.
* gcc.dg/
20021014 -1.c: Use dg-error, not dg-build.
* gcc.dg/
20021014 -1.c: Expect build failure on mmix-*-*.
From-SVN: r58601
GCC Administrator [Mon, 28 Oct 2002 08:16:27 +0000 (08:16 +0000)]
Daily bump.
From-SVN: r58590
Jan Hubicka [Sun, 27 Oct 2002 09:28:12 +0000 (10:28 +0100)]
re PR target/6890 (xmmintrin.h, _MM_TRANSPOSE4_PS is broken)
PR target/6890
* xmmintrin.h (_MM_TRANSPOSE4_PS): New.
From-SVN: r58581
Jan Hubicka [Sun, 27 Oct 2002 09:24:50 +0000 (10:24 +0100)]
* linux64.h (DEFAULT_PCC_STRUCT_RETURN): Define.
From-SVN: r58580
GCC Administrator [Sun, 27 Oct 2002 07:16:26 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r58572
GCC Administrator [Sat, 26 Oct 2002 07:16:33 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r58557
Jim Wilson [Fri, 25 Oct 2002 22:38:05 +0000 (22:38 +0000)]
Fix C++ FE problem with attribute alias.
* decl.c (duplicate_decls): Don't call decl_attributes.
From-SVN: r58544
Zack Weinberg [Fri, 25 Oct 2002 22:11:19 +0000 (22:11 +0000)]
re PR c++/6994 (ICE in find_function_data)
PR middle-end/6994
* c-objc-common.c (inline_forbidden_p): Can not inline
functions containing structures or unions containing VLAs.
* tree-inline.c (walk_tree): For all class 't' nodes, walk
TYPE_SIZE and TYPE_SIZE_UNIT. #undef WALK_SUBTREE_TAIL at end.
(copy_tree_r): Copy types if they are variably modified.
* hooks.c (hook_tree_bool_false): New.
* hooks.h: Prototype it.
* langhooks.h (struct lang_hooks_for_tree_inlining): Add
var_mod_type_p.
* langhooks-def.h: Default for tree_inlining.var_mod_type_p is
hook_tree_bool_false.
* tree.c (variably_modified_type_p): Moved here from
cp/tree.c. Use lang_hooks.tree_inlining.var_mod_type_p for
language-specific cases. Due to this, must weaken some 'if
and only if' checks to merely 'if'.
* tree.h: Prototype variably_modified_type_p.
cp:
* cp-lang.c (cp_var_mod_type_p): New: C++ hook for
variably_modified_type_p.
* cp-tree.h: Remove prototype of variably_modified_type_p.
* tree.c (variably_modified_type_p): Remove; now implemented
in language-independent code.
PR c++/7266
* decl.c (grokdeclarator): Check that TREE_OPERAND 0 of a
SCOPE_REF is not null before dereferencing it.
testsuite:
* g++.dg/ext/vla1.C, gcc.dg/vla-2.c,
g++.dg/template/typename3.C: New tests.
From-SVN: r58542
No Author [Fri, 25 Oct 2002 22:11:19 +0000 (22:11 +0000)]
This commit was manufactured by cvs2svn to create branch
'gcc-3_2-branch'.
From-SVN: r58541
David Edelsohn [Fri, 25 Oct 2002 15:32:46 +0000 (11:32 -0400)]
- Fix typo in last change.
From-SVN: r58534
David Edelsohn [Fri, 25 Oct 2002 15:20:30 +0000 (15:20 +0000)]
re PR c++/7228 (ICE when using member template and template function)
PR c++/7228
* cp-tree.h (CLASSTYPE_READONLY_FIELDS_NEED_INIT): Check that
lang_type structure exists before accessing field.
(SET_CLASSTYPE_READONLY_FIELDS_NEED_INIT): New macro.
(CLASSTYPE_REF_FIELDS_NEED_INIT): Similar.
(SET_CLASSTYPE_REF_FIELDS_NEED_INIT): New macro.
* class.c (check_field_decls): Use new macros.
* typeck2.c (process_init_constructor): Remove redundant check for
existence of lang_type structure.
From-SVN: r58533
GCC Administrator [Fri, 25 Oct 2002 07:17:04 +0000 (07:17 +0000)]
Daily bump.
From-SVN: r58523
Mark Mitchell [Thu, 24 Oct 2002 23:43:47 +0000 (23:43 +0000)]
class.c (check_field_decls): Fix typo.
* class.c (check_field_decls): Fix typo.
[[Split portion of a mixed commit.]]
From-SVN: r58516.1
Tom Tromey [Thu, 24 Oct 2002 21:11:22 +0000 (21:11 +0000)]
Primes.java: Removed.
* libjava.lang/Primes.java: Removed.
* libjava.lang/Primes.out: Removed.
From-SVN: r58506
Jakub Jelinek [Thu, 24 Oct 2002 17:11:56 +0000 (19:11 +0200)]
re PR target/6981 (wrong code in 64-bit manipulation on x86)
* config/i386/i386.md (subdi3_1): Add call to ix86_binary_operator_ok.
PR target/6981
* config/i386/i386.md (adddi3_1): Add call to ix86_binary_operator_ok.
* gcc.c-torture/execute/
20021024 -1.c: New test.
From-SVN: r58497
Richard Henderson [Thu, 24 Oct 2002 08:59:50 +0000 (01:59 -0700)]
re PR rtl-optimization/7944 (gcc 3.2: Internal compiler error in find_reloads_toplev, at reload.c:4462)
PR opt/7944
* reload.c (find_reloads_toplev): Use simplify_gen_subreg; mode
of X is not important when simplifying subregs of constants.
* g++.dg/opt/reload1.C: New.
From-SVN: r58489
GCC Administrator [Thu, 24 Oct 2002 07:16:32 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r58482
Mark Mitchell [Thu, 24 Oct 2002 00:03:16 +0000 (00:03 +0000)]
re PR c++/8067 (g++ 3.2 internal error: Segmentation fault)
PR c++/8067
* decl.c (maybe_inject_for_scope_var): Ignore __FUNCTION__ and
related variables.
PR c++/8067
* g++.dg/lookup/pretty1.C: New test.
From-SVN: r58479
No Author [Thu, 24 Oct 2002 00:03:16 +0000 (00:03 +0000)]
This commit was manufactured by cvs2svn to create branch
'gcc-3_2-branch'.
From-SVN: r58478
Mark Mitchell [Wed, 23 Oct 2002 21:56:55 +0000 (21:56 +0000)]
re PR c++/7679 (The compiler crashes wen a right parentesis is missing)
PR c++/7679
* spew.c (next_token): Do not return an endless stream of
END_OF_SAVED_INPUT tokens.
(snarf_method): Add three END_OF_SAVED_INPUT tokens to the end of
the cached token stream.
(snarf_defarg): Likewise.
PR c++/7679
* g++.dg/parse/inline1.C: New test.
From-SVN: r58473
No Author [Wed, 23 Oct 2002 21:56:55 +0000 (21:56 +0000)]
This commit was manufactured by cvs2svn to create branch
'gcc-3_2-branch'.
From-SVN: r58472