]>
git.ipfire.org Git - thirdparty/gcc.git/log
GCC Administrator [Thu, 16 Jan 2003 08:16:40 +0000 (08:16 +0000)]
Daily bump.
From-SVN: r61383
Stephane Carrez [Wed, 15 Jan 2003 20:44:29 +0000 (21:44 +0100)]
m68hc11.md ("return"): Use emit_jump_insn to emit the return code.
* config/m68hc11/m68hc11.md ("return"): Use emit_jump_insn to emit
the return code.
From-SVN: r61349
GCC Administrator [Wed, 15 Jan 2003 08:16:37 +0000 (08:16 +0000)]
Daily bump.
From-SVN: r61314
GCC Administrator [Tue, 14 Jan 2003 08:16:40 +0000 (08:16 +0000)]
Daily bump.
From-SVN: r61268
GCC Administrator [Mon, 13 Jan 2003 08:16:50 +0000 (08:16 +0000)]
Daily bump.
From-SVN: r61241
GCC Administrator [Sun, 12 Jan 2003 08:16:35 +0000 (08:16 +0000)]
Daily bump.
From-SVN: r61225
Alan Modra [Sat, 11 Jan 2003 22:44:36 +0000 (22:44 +0000)]
* expr.c (expand_expr <RDIV_EXPR>): Correct recursive call args.
From-SVN: r61217
GCC Administrator [Sat, 11 Jan 2003 08:16:33 +0000 (08:16 +0000)]
Daily bump.
From-SVN: r61193
Benjamin Kosnik [Sat, 11 Jan 2003 01:54:19 +0000 (01:54 +0000)]
re PR libstdc++/9269 (libstdc++ headers: explicit specialization of function must precede its first use)
2003-01-10 Benjamin Kosnik <bkoz@redhat.com>
Sysoltsev Slawa <Vyatcheslav.Sysoltsev@intel.com>
PR libstdc++/9269
* include/std/std_fstream.h (basic_filebuf::uflow): Declare.
(basic_filebuf::underflow): Declare.
Move definitions.
Co-Authored-By: Sysoltsev Slawa <Vyatcheslav.Sysoltsev@intel.com>
From-SVN: r61188
Josef Zlomek [Fri, 10 Jan 2003 14:06:37 +0000 (14:06 +0000)]
20030110 -1.c: New test.
* gcc.c-torture/compile/
20030110 -1.c: New test.
Test for http://gcc.gnu.org/ml/gcc-patches/2003-01/msg00519.html
From-SVN: r61157
No Author [Fri, 10 Jan 2003 14:06:37 +0000 (14:06 +0000)]
This commit was manufactured by cvs2svn to create branch
'gcc-3_2-branch'.
From-SVN: r61156
Josef Zlomek [Fri, 10 Jan 2003 13:46:19 +0000 (14:46 +0100)]
jump.c (next_nonnote_insn_in_loop): New function.
* jump.c (next_nonnote_insn_in_loop): New function.
(copy_loop_headers): Use next_nonnote_insn_in_loop instead of
next_nonnote_insn.
(duplicate_loop_exit_test). Likewise.
From-SVN: r61152
Josef Zlomek [Fri, 10 Jan 2003 13:36:19 +0000 (14:36 +0100)]
Makefile.in (optabs.o): Add dependencies on basic-block.h and hard-reg-set.h.
* Makefile.in (optabs.o): Add dependencies on basic-block.h and
hard-reg-set.h.
* basic-block.h (control_flow_insn_p): Fuction was exported.
* cfgbuild.c (control_flow_insn_p): Fuction was made non-static.
* optabs.c (emit_libcall_block): Emit REG_LIBCALL and REG_RETVAL
notes only when the region is contained in a single basic block.
From-SVN: r61149
GCC Administrator [Fri, 10 Jan 2003 08:16:38 +0000 (08:16 +0000)]
Daily bump.
From-SVN: r61143
Eric Botcazou [Thu, 9 Jan 2003 13:18:46 +0000 (14:18 +0100)]
re PR inline-asm/8832 (traditional "asm volatile" code is illegally optimized)
PR inline-asm/8832
* tree.h (expand_asm): New prototype.
* stmt.c (expand_asm): Set the MEM_VOLATILE_P flag if instructed
to do so.
* c-semantics (genrtl_asm_stmt): Pass the RID_VOLATILE qualifier
down to expand_asm.
* c-typeck.c (simple_asm_stmt): Set the RID_VOLATILE qualifier.
* rtlanal.c (volatile_insn_p) [ASM_INPUT]: Test the MEM_VOLATILE_P flag.
(volatile_refs_p) [ASM_INPUT]: Likewise.
(side_effects_p) [ASM_INPUT]: Likewise.
From-SVN: r61108
No Author [Thu, 9 Jan 2003 13:18:46 +0000 (13:18 +0000)]
This commit was manufactured by cvs2svn to create branch
'gcc-3_2-branch'.
From-SVN: r61107
Eric Botcazou [Thu, 9 Jan 2003 09:33:04 +0000 (10:33 +0100)]
re PR c/8032 (GCC >= 3.0 incorrectly initializes static structs in the presence of flexible arrays)
PR c/8032
* c-typeck.c (process_init_element) [RECORD_TYPE]: For
an empty element, do not advance the pointer to unfilled
fields if there are pending initializers.
From-SVN: r61096
No Author [Thu, 9 Jan 2003 09:33:04 +0000 (09:33 +0000)]
This commit was manufactured by cvs2svn to create branch
'gcc-3_2-branch'.
From-SVN: r61095
GCC Administrator [Thu, 9 Jan 2003 08:16:45 +0000 (08:16 +0000)]
Daily bump.
From-SVN: r61087
GCC Administrator [Wed, 8 Jan 2003 08:16:42 +0000 (08:16 +0000)]
Daily bump.
From-SVN: r61032
Janis Johnson [Wed, 8 Jan 2003 01:17:11 +0000 (01:17 +0000)]
re PR other/8947 (Please add a Warning about "-malign-double" in docs)
2003-01-07 Janis Johnson <janis187@us.ibm.com>
PR other/8947
* doc/invoke.texi (-malign-double): Explain that the option breaks
binary compatibility.
From-SVN: r61028
Benjamin Kosnik [Tue, 7 Jan 2003 20:36:11 +0000 (20:36 +0000)]
re PR libstdc++/9076 (Call Frame Instructions are not handled correctly during unwind operation..)
2003-01-07 Benjamin Kosnik <bkoz@redhat.com>
Sunil Davasam <sunil.k.davasam@intel.com>
PR libstdc++/9076
* unwind-dw2.c (execute_cfa_program): DW_CFA_undefined,
DW_CFA_same_value, read next and ignore.
Co-Authored-By: Sunil Davasam <sunil.k.davasam@intel.com>
From-SVN: r61012
Richard Henderson [Tue, 7 Jan 2003 20:21:35 +0000 (12:21 -0800)]
* cfganal.c (flow_call_edges_add): Don't crash on noreturn call.
From-SVN: r61009
Benjamin Kosnik [Tue, 7 Jan 2003 17:32:09 +0000 (17:32 +0000)]
re PR libstdc++/8707 (make distclean fails)
2003-01-07 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/8707
* Makefile.am (distclean-multi): Fix.
* Makefile.in: Regenerate.
From-SVN: r61005
GCC Administrator [Tue, 7 Jan 2003 08:16:40 +0000 (08:16 +0000)]
Daily bump.
From-SVN: r60984
Benjamin Kosnik [Tue, 7 Jan 2003 03:45:22 +0000 (03:45 +0000)]
locale_facets.h (messages): Move ctor, dtor definitions to..
2003-01-06 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/locale_facets.h (messages): Move ctor, dtor
definitions to..
(__timepunct): Same.
* config/locale/gnu/messages_members.h (messages): Add dtor, ctor
definitions. Conditionalize for GNU systems.
* config/locale/generic/messages_members.h (messages): Add dtor, ctor
definitions.
* config/locale/gnu/time_members.h (messages): New. Add dtor, ctor
definitions. Conditionalize for GNU systems.
* config/locale/generic/time_members.h (messages): New. Add dtor, ctor
definitions.
* include/bits/localefwd.h (locale::facet::_S_c_name): Add.
* src/locale.cc: Define.
* src/localename.cc (locale::_Impl::_Impl(facet**, size_t, bool):
Use it.
* config/locale/gnu/time_members.h: Use it.
* config/locale/gnu/messages_members.h: Use it.
* config/linker-map.gnu: Add locale::facets details.
* include/Makefile.am (target_headers_extra): Add time_members.h.
* include/Makefile.in: Regenerate.
* acinclude.m4: Export CTIME_H.
* aclocal.m4: Regenerate.
* configure: Regnerate.
From-SVN: r60977
No Author [Tue, 7 Jan 2003 03:45:22 +0000 (03:45 +0000)]
This commit was manufactured by cvs2svn to create branch
'gcc-3_2-branch'.
From-SVN: r60976
Paolo Carlini [Mon, 6 Jan 2003 18:55:38 +0000 (19:55 +0100)]
2003-01-06 Paolo Carlini <pcarlini@unitus.it>
* src/codecvt.cc
(codecvt<char, char, mbstate_t>::do_in, do_out):
Tweak parameters to avoid unused parameter warnings.
From-SVN: r60948
Paolo Carlini [Mon, 6 Jan 2003 15:51:49 +0000 (16:51 +0100)]
re PR libstdc++/9151 (std::setprecision limited to 16 digits when outputting a double to a stream)
2003-01-06 Paolo Carlini <pcarlini@unitus.it>
PR libstdc++/9151
* include/bits/locale_facets.cc (num_put::_M_convert_float):
Limit __prec to digits10 + 2, not digits10 + 1, taking into
account the possibility of %{g,G} conversion specifiers
inside _S_format_float.
* testsuite/27_io/ostream_inserter_arith.cc (test06): Add.
From-SVN: r60941
Kaveh R. Ghazi [Mon, 6 Jan 2003 14:29:19 +0000 (14:29 +0000)]
libstdc++-v3-dg.exp (libstdc++-v3-init): Additionally handle files one level deeper in glob patterns.
* testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init):
Additionally handle files one level deeper in glob patterns.
* testsuite/libstdc++-v3.dg/dg.exp: Likewise.
* testsuite/27_io/istream_extractor_arith.cc: Delete, split...
* testsuite/27_io/istream_extractor_arith/01.cc,
testsuite/27_io/istream_extractor_arith/02.cc,
testsuite/27_io/istream_extractor_arith/03.cc,
testsuite/27_io/istream_extractor_arith/06.cc,
testsuite/27_io/istream_extractor_arith/07.cc,
testsuite/27_io/istream_extractor_arith/08.cc,
testsuite/27_io/istream_extractor_arith/09.cc,
testsuite/27_io/istream_extractor_arith/10.cc,
testsuite/27_io/istream_extractor_arith/11.cc,
testsuite/27_io/istream_extractor_arith/12.cc,
testsuite/27_io/istream_extractor_arith/13.cc: ... to new files.
* testsuite/27_io/istream_extractor_arith/12.cc: Add XFAIL for
sparc*-*-solaris2*.
From-SVN: r60938
No Author [Mon, 6 Jan 2003 14:29:19 +0000 (14:29 +0000)]
This commit was manufactured by cvs2svn to create branch
'gcc-3_2-branch'.
From-SVN: r60937
GCC Administrator [Mon, 6 Jan 2003 08:18:40 +0000 (08:18 +0000)]
Daily bump.
From-SVN: r60927
Paolo Carlini [Sun, 5 Jan 2003 08:24:56 +0000 (09:24 +0100)]
re PR libstdc++/9168 (codecvt<char, char, mbstate_t> overwrites output buffers)
2003-01-05 Paolo Carlini <pcarlini@unitus.it>
PR libstdc++/9168
* src/codecvt.cc
(codecvt<char, char, mbstate_t>::do_in, do_out):
Implement the resolution of DR19 (TC).
* testsuite/22_locale/codecvt_members_char_char.cc
(test01): Tweak.
From-SVN: r60910
GCC Administrator [Sun, 5 Jan 2003 08:16:33 +0000 (08:16 +0000)]
Daily bump.
From-SVN: r60905
GCC Administrator [Sat, 4 Jan 2003 08:16:35 +0000 (08:16 +0000)]
Daily bump.
From-SVN: r60873
GCC Administrator [Fri, 3 Jan 2003 08:18:46 +0000 (08:18 +0000)]
Daily bump.
From-SVN: r60821
GCC Administrator [Thu, 2 Jan 2003 08:16:32 +0000 (08:16 +0000)]
Daily bump.
From-SVN: r60775
Neil Booth [Wed, 1 Jan 2003 16:24:28 +0000 (16:24 +0000)]
re PR preprocessor/8880 (__WCHAR_TYPE__ macro incorrectly set to "long int" with -fshort-wchar)
PR preprocessor/8880
* gcc.c (cpp_unique_options): Handle -fshort-wchar later so it
overrides any target CPU specs.
From-SVN: r60752
GCC Administrator [Wed, 1 Jan 2003 08:16:33 +0000 (08:16 +0000)]
Daily bump.
From-SVN: r60733
GCC Administrator [Tue, 31 Dec 2002 08:16:37 +0000 (08:16 +0000)]
Daily bump.
From-SVN: r60678
GCC Administrator [Mon, 30 Dec 2002 08:16:34 +0000 (08:16 +0000)]
Daily bump.
From-SVN: r60622
GCC Administrator [Sun, 29 Dec 2002 08:17:15 +0000 (08:17 +0000)]
Daily bump.
From-SVN: r60593
John David Anglin [Sat, 28 Dec 2002 23:27:08 +0000 (23:27 +0000)]
pa.h (TARGET_SOM): Define if not defined.
2002-12-28 John David Anglin <dave.anglin@nrc.ca>
* pa.h (TARGET_SOM): Define if not defined.
* som.h (OBJ_SOM): Rename to TARGET_SOM.
* pa.c (pa_output_function_prologue): Don't accumulate the total code
bytes in the translation unit when using gas, som and not the portable
runtime, or when using function sections.
From-SVN: r60589
GCC Administrator [Sat, 28 Dec 2002 08:16:42 +0000 (08:16 +0000)]
Daily bump.
From-SVN: r60563
GCC Administrator [Fri, 27 Dec 2002 08:16:34 +0000 (08:16 +0000)]
Daily bump.
From-SVN: r60539
Nathan Sidwell [Thu, 26 Dec 2002 12:58:06 +0000 (12:58 +0000)]
re PR c++/8503 (strange behaviour of function types)
cp:
PR c++/8503
Remove DR 295 implementation.
* pt.c (check_cv_quals_for_unify): Disable function & method cases.
* tree.c (cp_build_qualified_type_real): Likewise. Don't warn
about ignoring volatile qualifiers.
testsuite:
* g++.dg/template/qualttp20.C: Adjust expected errors.
* g++.old-deja/g++.jason/report.C: Likewise.
* g++.old-deja/g++.other/qual1.C: Likewise.
From-SVN: r60517
GCC Administrator [Thu, 26 Dec 2002 08:16:39 +0000 (08:16 +0000)]
Daily bump.
From-SVN: r60509
GCC Administrator [Wed, 25 Dec 2002 08:17:16 +0000 (08:17 +0000)]
Daily bump.
From-SVN: r60495
GCC Administrator [Tue, 24 Dec 2002 08:16:45 +0000 (08:16 +0000)]
Daily bump.
From-SVN: r60468
GCC Administrator [Mon, 23 Dec 2002 08:16:44 +0000 (08:16 +0000)]
Daily bump.
From-SVN: r60426
GCC Administrator [Sun, 22 Dec 2002 08:16:54 +0000 (08:16 +0000)]
Daily bump.
From-SVN: r60400
Eric Botcazou [Sat, 21 Dec 2002 20:31:15 +0000 (21:31 +0100)]
re PR rtl-optimization/8599 (loop unroll bug with -march=k6-3)
PR optimization/8599
* doloop.c (doloop_modify_runtime): Fix loop count computation
for preconditioned unrolled loops.
From-SVN: r60393
Eric Botcazou [Sat, 21 Dec 2002 20:25:44 +0000 (21:25 +0100)]
re PR rtl-optimization/8599 (loop unroll bug with -march=k6-3)
PR optimization/8599
* doloop.c (doloop_modify_runtime): Revert 2002-11-22 change.
* loop.c (loop_invariant_p): Likewise.
From-SVN: r60392
GCC Administrator [Sat, 21 Dec 2002 08:16:36 +0000 (08:16 +0000)]
Daily bump.
From-SVN: r60382
GCC Administrator [Fri, 20 Dec 2002 08:16:57 +0000 (08:16 +0000)]
Daily bump.
From-SVN: r60359
Eric Botcazou [Thu, 19 Dec 2002 20:27:56 +0000 (21:27 +0100)]
re PR rtl-optimization/8988 (gcc3.2 and 3.2.1 with -O2 and -mcpu=i386 generates code that segfaults)
PR optimization/8988
* loop.c (maybe_eliminate_biv): Kill REG_EQUAL notes mentioning
the biv when eliminating.
From-SVN: r60329
GCC Administrator [Thu, 19 Dec 2002 08:16:55 +0000 (08:16 +0000)]
Daily bump.
From-SVN: r60297
Kaveh R. Ghazi [Thu, 19 Dec 2002 01:49:44 +0000 (01:49 +0000)]
vector_capacity.cc (test03): Move ...
* testsuite/23_containers/vector_capacity.cc (test03): Move ...
* testsuite/23_containers/vector_resize.cc: ...here as a new file.
Pass in -lmalloc for irix6.
* testsuite/27_io/ios_base_storage.cc: Pass in -lmalloc for irix6.
From-SVN: r60274
Kriang Lerdsuwanakij [Wed, 18 Dec 2002 15:03:01 +0000 (15:03 +0000)]
* parse.y (bad_parm): Add missing argument to error function call.
From-SVN: r60250
Kriang Lerdsuwanakij [Wed, 18 Dec 2002 14:58:35 +0000 (14:58 +0000)]
re PR c++/8442 (rejects nested template classes)
PR c++/8442
* decl2.c (handle_class_head): Verify if the looked up name is a
type or template.
* pt.c (convert_template_argument): Fix type or template template
parameter decision logic.
* g++.dg/template/type2.C: New test.
* g++.dg/template/ttp3.C: Change expected error message.
From-SVN: r60249
GCC Administrator [Wed, 18 Dec 2002 08:16:53 +0000 (08:16 +0000)]
Daily bump.
From-SVN: r60240
Jakub Jelinek [Tue, 17 Dec 2002 13:52:38 +0000 (14:52 +0100)]
re PR rtl-optimization/8794 (optimization improperly eliminates certain expressions)
PR opt/8794
* combine.c (force_to_mode) [MINUS]: Only replace with (not Y) if all
bits in fuller_mask (not just mask) are set in C.
* gcc.c-torture/execute/
20021118 -3.c: New test.
From-SVN: r60210
GCC Administrator [Tue, 17 Dec 2002 08:16:41 +0000 (08:16 +0000)]
Daily bump.
From-SVN: r60201
GCC Administrator [Mon, 16 Dec 2002 08:16:38 +0000 (08:16 +0000)]
Daily bump.
From-SVN: r60168
GCC Administrator [Sun, 15 Dec 2002 08:16:37 +0000 (08:16 +0000)]
Daily bump.
From-SVN: r60150
GCC Administrator [Sat, 14 Dec 2002 08:16:35 +0000 (08:16 +0000)]
Daily bump.
From-SVN: r60121
Dale Johannesen [Sat, 14 Dec 2002 00:56:36 +0000 (00:56 +0000)]
Fix test for LP64, move to gcc.c-torture/compile (per Kaveh Ghazi)
From-SVN: r60114
No Author [Sat, 14 Dec 2002 00:56:36 +0000 (00:56 +0000)]
This commit was manufactured by cvs2svn to create branch
'gcc-3_2-branch'.
From-SVN: r60113
Joe Buck [Sat, 14 Dec 2002 00:09:28 +0000 (00:09 +0000)]
parse.y (class_head_defn): Set CLASSTYPE_DECLARED_CLASS for anonymous structs.
* parse.y (class_head_defn): Set CLASSTYPE_DECLARED_CLASS for
anonymous structs.
From-SVN: r60110
Gabriel Dos Reis [Fri, 13 Dec 2002 21:54:46 +0000 (21:54 +0000)]
re PR c++/8031 (ICE in comptypes, at cp/typeck.c:913)
PR C++/8031
* cvt.c (convert_to_pointer_force): Don't try comparing against
erronous type.
From-SVN: r60105
GCC Administrator [Fri, 13 Dec 2002 08:16:30 +0000 (08:16 +0000)]
Daily bump.
From-SVN: r60092
John David Anglin [Thu, 12 Dec 2002 22:37:08 +0000 (22:37 +0000)]
pa.h (BIGGEST_ALIGNMENT): Change 32-bit value to 64 bits.
* pa.h (BIGGEST_ALIGNMENT): Change 32-bit value to 64 bits.
(MAX_PARM_BOUNDARY, STACK_BOUNDARY): Express in terms of
BIGGEST_ALIGNMENT.
(PREFERRED_STACK_BOUNDARY): Express in terms of STACK_BOUNDARY.
(FUNCTION_BOUNDARY): Express in terms of BITS_PER_WORD.
From-SVN: r60084
Eric Botcazou [Thu, 12 Dec 2002 11:21:41 +0000 (11:21 +0000)]
* gcc.c-torture/compile/
20021212 -1.c: New test.
From-SVN: r60071
No Author [Thu, 12 Dec 2002 11:21:41 +0000 (11:21 +0000)]
This commit was manufactured by cvs2svn to create branch
'gcc-3_2-branch'.
From-SVN: r60070
Eric Botcazou [Thu, 12 Dec 2002 11:12:58 +0000 (11:12 +0000)]
Link PR opt/8334 to its fix.
From-SVN: r60069
GCC Administrator [Thu, 12 Dec 2002 08:16:30 +0000 (08:16 +0000)]
Daily bump.
From-SVN: r60062
Paolo Carlini [Thu, 12 Dec 2002 00:30:16 +0000 (01:30 +0100)]
re PR libstdc++/8887 (locale)
2002-12-11 Paolo Carlini <pcarlini@unitus.it>
PR libstdc++/8887
* config/locale/generic/time_members.cc
(__timepunct<char>::_M_initialize_timepunct): Fix typos
in _M_date_format and _M_date_era_format string literals.
From-SVN: r60051
GCC Administrator [Wed, 11 Dec 2002 08:16:29 +0000 (08:16 +0000)]
Daily bump.
From-SVN: r60026
Mark Mitchell [Tue, 10 Dec 2002 22:32:42 +0000 (22:32 +0000)]
re PR c++/8372 (ICE on explicit call of destructor)
PR c++/8372
* pt.c (tsubst_copy): Handle destructor names more correctly.
PR c++/8372
* g++.dg/template/dtor1.C: New test.
From-SVN: r60017
No Author [Tue, 10 Dec 2002 22:32:42 +0000 (22:32 +0000)]
This commit was manufactured by cvs2svn to create branch
'gcc-3_2-branch'.
From-SVN: r60016
Janis Johnson [Tue, 10 Dec 2002 21:01:54 +0000 (21:01 +0000)]
re PR other/8882 (Error in the documentation "GNU Compiler Collection Internals")
2002-12-10 Janis Johnson <janis187@us.ibm.com>
PR other/8882
* doc/tm.texi (PUSH_ARGS): Remove misplaced line.
From-SVN: r60012
Mark Mitchell [Tue, 10 Dec 2002 14:46:32 +0000 (14:46 +0000)]
memconst.C: Use old-deja, not dg, error markers.
* g++.old-deja/g++.ext/memconst.C: Use old-deja, not dg, error
markers.
From-SVN: r59998
Jakub Jelinek [Tue, 10 Dec 2002 11:40:26 +0000 (12:40 +0100)]
* g++.dg/parse/parameter-declaration-1.C: Expect error on last line.
From-SVN: r59995
GCC Administrator [Tue, 10 Dec 2002 08:16:29 +0000 (08:16 +0000)]
Daily bump.
From-SVN: r59986
Gabriel Dos Reis [Tue, 10 Dec 2002 07:39:51 +0000 (07:39 +0000)]
* include/bits/slice_array.h (slice_array<>::operator=): Fix typo.
From-SVN: r59984
Mark Mitchell [Tue, 10 Dec 2002 07:16:06 +0000 (07:16 +0000)]
re PR c++/8153 (ICE with static const member in class)
PR c++/8153
PR c++/8036
* NEWS: Document removal of in-class initialization extension for
static data members of non-arithmetic, non-enumeration type.
* decl.c (check_static_variable_definition): Do not allow that
extension.
* decl2.c (grokfield): Do not call digest_init when processing
templates.
PR c++/8153
PR c++/8036
* g++.dg/template/static1.C: New test.
* g++.dg/template/static2.C: New test.
* g++.old-deja/g++.ext/memconst.C: New test.
From-SVN: r59982
No Author [Tue, 10 Dec 2002 07:16:06 +0000 (07:16 +0000)]
This commit was manufactured by cvs2svn to create branch
'gcc-3_2-branch'.
From-SVN: r59981
Richard Henderson [Tue, 10 Dec 2002 00:40:11 +0000 (16:40 -0800)]
i386.h (CPP_CPU_DEFAULT_SPEC): Fix typo wrt line continuation in p2 and p3 cases.
* config/i386/i386.h (CPP_CPU_DEFAULT_SPEC): Fix typo wrt line
continuation in p2 and p3 cases.
From-SVN: r59973
GCC Administrator [Mon, 9 Dec 2002 08:16:32 +0000 (08:16 +0000)]
Daily bump.
From-SVN: r59957
Kaveh R. Ghazi [Mon, 9 Dec 2002 00:55:41 +0000 (00:55 +0000)]
conpr-2.C: Expect failure on solaris2.
* g++.dg/special/conpr-2.C: Expect failure on solaris2.
* g++.dg/special/ecos.exp (conpr-3.C): Likewise.
* g++.dg/special/initp1.C: Likewise.
From-SVN: r59952
Mark Mitchell [Mon, 9 Dec 2002 00:54:17 +0000 (00:54 +0000)]
* g++.dg/template/varmod1.C: Fix typo.
From-SVN: r59951
GCC Administrator [Sun, 8 Dec 2002 08:16:22 +0000 (08:16 +0000)]
Daily bump.
From-SVN: r59931
No Author [Sat, 7 Dec 2002 18:47:55 +0000 (18:47 +0000)]
This commit was manufactured by cvs2svn to create branch
'gcc-3_2-branch'.
From-SVN: r59922
GCC Administrator [Sat, 7 Dec 2002 08:16:32 +0000 (08:16 +0000)]
Daily bump.
From-SVN: r59906
GCC Administrator [Fri, 6 Dec 2002 08:16:36 +0000 (08:16 +0000)]
Daily bump.
From-SVN: r59883
Dale Johannesen [Fri, 6 Dec 2002 00:58:46 +0000 (00:58 +0000)]
tree.c (unsafe_for_reeval): Consider callee child of CALL_EXPR.
2002-12-05 Dale Johannesen <dalej@apple.com>
* tree.c (unsafe_for_reeval): Consider callee child of CALL_EXPR.
From-SVN: r59877
No Author [Fri, 6 Dec 2002 00:58:46 +0000 (00:58 +0000)]
This commit was manufactured by cvs2svn to create branch
'gcc-3_2-branch'.
From-SVN: r59876
Benjamin Kosnik [Thu, 5 Dec 2002 23:48:57 +0000 (23:48 +0000)]
[multiple changes]
2002-12-05 Benjamin Kosnik <bkoz@redhat.com>
* config/linker-map.gnu: Put _S_force_new into GLIBCPP_3.2.2.
* testsuite/abi_check.cc: Add GLIBCPP_3.2.2.
2002-12-05 Benjamin Kosnik <bkoz@redhat.com>
Gabriel Dos Reis <gdr@integrable-solutions.net>
PR libstdc++/8230
* include/bits/stl_alloc.h: Use builtin_expect for the most
obvious limit checks.
(__default_alloc_template::allocate): Check for null, throw
bad_alloc.
* testsuite/20_util/allocator_members.cc (test02): Add.
* testsuite/23_containers/vector_capacity.cc (test03): Add.
2002-12-05 Loren J. Rittle <ljrittle@acm.org>
Brad Spencer <spencer@infointeractive.com>
(provided alternate patch and improvements)
PR libstdc++/8708
* docs/html/23_containers/howto.html (GLIBCPP_FORCE_NEW): Document
new environment variable which replaces all uses of __USE_MALLOC
macro.
* docs/html/ext/howto.html (GLIBCPP_FORCE_NEW): Likewise.
(__mem_interface): Remove all references to old internal typedef.
* include/backward/alloc.h (__USE_MALLOC): Remove it and all
guarded code.
* include/bits/c++config (__USE_MALLOC): Update related error
message and comment.
* include/bits/stl_alloc.h (__USE_MALLOC): Remove it and all
guarded code. Update all related comments.
(__mem_interface): Unconditionally replace it with __new_alloc.
However, leave the typedef around in case anyone used it.
(__default_alloc_template<>::_S_force_new): New class static.
(__default_alloc_template<>::allocate, deallocate): Add
run-time controlled feature similar to what __USE_MALLOC code
path had provided.
* src/stl-inst.cc (__USE_MALLOC): Remove it and all
guarded code.
* testsuite/21_strings/capacity.cc: Remove reference to __USE_MALLOC.
Add documentation on GLIBCPP_FORCE_NEW environment variable.
* testsuite/ext/allocators.cc: Likewise.
From-SVN: r59873
Kaveh R. Ghazi [Thu, 5 Dec 2002 22:24:53 +0000 (22:24 +0000)]
* error.c (dump_expr): Fix format specifier warning.
From-SVN: r59868
Danny Smith [Thu, 5 Dec 2002 20:30:32 +0000 (20:30 +0000)]
cygwin.h (SUBTARGET_PROLOGUE): Replace with PROFILE_HOOK.
* config/i386/cygwin.h (SUBTARGET_PROLOGUE): Replace with
PROFILE_HOOK.
* config/i386/mingw32.h (SUBTARGET_PROLOGUE): Don't undef.
From-SVN: r59866