]>
git.ipfire.org Git - thirdparty/gcc.git/log
GCC Administrator [Mon, 31 Oct 2005 00:16:30 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r106258
GCC Administrator [Sun, 30 Oct 2005 00:16:44 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r106004
GCC Administrator [Sun, 30 Oct 2005 00:16:40 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r106003
Alan Modra [Sat, 29 Oct 2005 22:35:37 +0000 (22:35 +0000)]
re PR target/23070 ([3.4 only] CALL_V4_CLEAR_FP_ARGS flag not properly set)
PR target/23070
* config/rs6000/rs6000.c (function_arg): For ABI_V4 calls to
stdarg functions, set/clear the fp marker even when no variable
args are passed.
* config/rs6000/sysv4.h (SUBTARGET_SWITCHES): Describe
-mprototype and -mno-prototype.
From-SVN: r105998
GCC Administrator [Sat, 29 Oct 2005 00:16:30 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r105976
GCC Administrator [Sat, 29 Oct 2005 00:16:28 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r105975
Josh Conner [Fri, 28 Oct 2005 18:47:28 +0000 (18:47 +0000)]
backport: re PR c++/22153 (ICE on invalid template specialization)
Merged from mainline change #105944:
PR c++/22153
* cp/parser.c (cp_parser_member_declaration): Detect and handle
a template specialization.
* testsuite/g++.dg/template/crash38.C: New test.
* testsuite/g++.dg/parse/explicit1.C: Change expected errors.
From-SVN: r105946
Daniel Berlin [Fri, 28 Oct 2005 17:30:57 +0000 (17:30 +0000)]
gcc_update: Update for svn.
2005-10-28 Daniel Berlin <dberlin@dberlin.org>
Ben Elliston <bje@au1.ibm.com>
* gcc_update: Update for svn.
Co-Authored-By: Ben Elliston <bje@au.ibm.com>
From-SVN: r105941
GCC Administrator [Wed, 26 Oct 2005 00:16:13 +0000 (00:16 +0000)]
Daily bump.
[[Split portion of a mixed commit.]]
From-SVN: r105906.1
GCC Administrator [Tue, 25 Oct 2005 00:16:11 +0000 (00:16 +0000)]
Daily bump.
[[Split portion of a mixed commit.]]
From-SVN: r105872.1
GCC Administrator [Mon, 24 Oct 2005 00:16:16 +0000 (00:16 +0000)]
Daily bump.
[[Split portion of a mixed commit.]]
From-SVN: r105833.1
GCC Administrator [Sun, 23 Oct 2005 00:16:12 +0000 (00:16 +0000)]
Daily bump.
[[Split portion of a mixed commit.]]
From-SVN: r105805.1
GCC Administrator [Sat, 22 Oct 2005 00:16:14 +0000 (00:16 +0000)]
Daily bump.
[[Split portion of a mixed commit.]]
From-SVN: r105784.1
Eric Botcazou [Fri, 21 Oct 2005 17:26:56 +0000 (17:26 +0000)]
* gcc.c-torture/execute/
20051021 -1.c: New test.
From-SVN: r105753
No Author [Fri, 21 Oct 2005 17:24:46 +0000 (17:24 +0000)]
This commit was manufactured by cvs2svn to create branch
'gcc-3_4-branch'.
From-SVN: r105750
Alan Modra [Fri, 21 Oct 2005 07:48:26 +0000 (07:48 +0000)]
re PR target/24465 (-mminimal-toc miscompilation of __thread vars)
PR target/24465
* config/rs6000/rs6000.c (rs6000_legitimize_tls_address): Always
use r2 for 64-bit tls .got access.
From-SVN: r105728
GCC Administrator [Fri, 21 Oct 2005 00:16:13 +0000 (00:16 +0000)]
Daily bump.
[[Split portion of a mixed commit.]]
From-SVN: r105698.1
Paolo Bonzini [Thu, 20 Oct 2005 17:23:54 +0000 (17:23 +0000)]
dojump.c (do_jump): Revert the last patch as it breaks Ada.
2005-10-19 Paolo Bonzini <bonzini@gnu.org>
* dojump.c (do_jump): Revert the last patch as it breaks Ada.
From-SVN: r105681
Volker Reichelt [Thu, 20 Oct 2005 10:10:09 +0000 (10:10 +0000)]
re PR c++/22508 (ICE after invalid operator new)
PR c++/22508
* init.c (build_new_1): Remove misleading comment.
From-SVN: r105667
GCC Administrator [Thu, 20 Oct 2005 00:16:20 +0000 (00:16 +0000)]
Daily bump.
[[Split portion of a mixed commit.]]
From-SVN: r105651.1
Paolo Bonzini [Wed, 19 Oct 2005 10:49:56 +0000 (10:49 +0000)]
re PR target/19672 (Performance regression in simple loop code)
2005-10-19 Paolo Bonzini <bonzini@gnu.org>
PR #19672
* dojump.c (do_jump): Handle TRUTH_AND_EXPR and TRUTH_OR_EXPR
like TRUTH_ANDIF_EXPR and TRUTH_ORIF_EXPR, if the branch cost
is low enough.
From-SVN: r105608
GCC Administrator [Wed, 19 Oct 2005 00:16:14 +0000 (00:16 +0000)]
Daily bump.
[[Split portion of a mixed commit.]]
From-SVN: r105587.1
GCC Administrator [Tue, 18 Oct 2005 00:16:12 +0000 (00:16 +0000)]
Daily bump.
[[Split portion of a mixed commit.]]
From-SVN: r105529.1
GCC Administrator [Mon, 17 Oct 2005 00:16:14 +0000 (00:16 +0000)]
Daily bump.
[[Split portion of a mixed commit.]]
From-SVN: r105478.1
GCC Administrator [Sun, 16 Oct 2005 00:16:12 +0000 (00:16 +0000)]
Daily bump.
[[Split portion of a mixed commit.]]
From-SVN: r105451.1
GCC Administrator [Sat, 15 Oct 2005 00:16:45 +0000 (00:16 +0000)]
Daily bump.
[[Split portion of a mixed commit.]]
From-SVN: r105425.1
GCC Administrator [Fri, 14 Oct 2005 00:16:14 +0000 (00:16 +0000)]
Daily bump.
[[Split portion of a mixed commit.]]
From-SVN: r105382.1
GCC Administrator [Thu, 13 Oct 2005 00:16:14 +0000 (00:16 +0000)]
Daily bump.
[[Split portion of a mixed commit.]]
From-SVN: r105340.1
Paolo Bonzini [Wed, 12 Oct 2005 13:45:08 +0000 (13:45 +0000)]
==> cp/ChangeLog <==
2005-10-12 Paolo Bonzini <bonzini@gnu.org>
PR c++/24052
* error.c (dump_expr): Pass LABEL_DECL to dump_decl. Print
an ADDR_EXPR of a LABEL_DECL as &&.
==> testsuite/ChangeLog <==
2005-10-12 Paolo Bonzini <bonzini@gnu.org>
PR c++/24052
* g++.dg/ext/label5.C: New.
From-SVN: r105303
No Author [Wed, 12 Oct 2005 13:45:08 +0000 (13:45 +0000)]
This commit was manufactured by cvs2svn to create branch
'gcc-3_4-branch'.
From-SVN: r105302
GCC Administrator [Wed, 12 Oct 2005 00:16:12 +0000 (00:16 +0000)]
Daily bump.
[[Split portion of a mixed commit.]]
From-SVN: r105278.1
Volker Reichelt [Tue, 11 Oct 2005 00:39:26 +0000 (00:39 +0000)]
backport: re PR c++/17618 (ICE in cp_convert_to_pointer, at cp/cvt.c:83)
Backport:
2004-09-23 Andrew Pinski <pinskia@physics.uc.edu>
PR c++/17618
* cvt.c (cp_convert_to_pointer): Return early when the type is
an error_mark_node.
2004-05-22 Roger Sayle <roger@eyesopen.com>
* name-lookup.c (check_for_out_of_scope_variable): Avoid ICE by
returning when TREE_TYPE is error_mark_node.
* typeck.c (require_complete_type): Return error_mark_node if
value's type is an error_mark_node.
2004-11-02 Mark Mitchell <mark@codesourcery.com>
PR c++/18177
* typeck.c (build_const_cast): Use error_operand_p.
2004-09-23 Andrew Pinski <pinskia@physics.uc.edu>
PR c++/17618
* g++.dg/lookup/crash5.C: New test.
2004-05-22 Wolfgang Bangerth <bangerth@dealii.org>
Roger Sayle <roger@eyesopen.com>
* g++.dg/lookup/forscope2.C: New test case.
2004-11-02 Mark Mitchell <mark@codesourcery.com>
PR c++/18177
* g++.dg/conversion/const3.C: New test.
From-SVN: r105210
GCC Administrator [Tue, 11 Oct 2005 00:16:13 +0000 (00:16 +0000)]
Daily bump.
[[Split portion of a mixed commit.]]
From-SVN: r105204.1
GCC Administrator [Mon, 10 Oct 2005 00:16:12 +0000 (00:16 +0000)]
Daily bump.
[[Split portion of a mixed commit.]]
From-SVN: r105157.1
Eric Botcazou [Sun, 9 Oct 2005 12:36:09 +0000 (14:36 +0200)]
* config/sparc/gmon-sol2.c (internal_mcount): Mark as used.
From-SVN: r105142
GCC Administrator [Sun, 9 Oct 2005 00:16:11 +0000 (00:16 +0000)]
Daily bump.
[[Split portion of a mixed commit.]]
From-SVN: r105127.1
Janis Johnson [Sat, 8 Oct 2005 22:24:50 +0000 (22:24 +0000)]
re PR debug/24267 ([3.4 only] Bad DWARF for altivec vectors)
PR debug/24267
Partial backport from mainline
2004-05-04 Paolo Bonzini <bonzini@gnu.org>
Richard Henderson <rth@redhat.com>
* tree.c (make_or_reuse_type): New.
(build_common_tree_nodes): Use it.
testsuite:
* gcc.dg/debug/dwarf2/dwarf-altivec1.c: New test.
From-SVN: r105125
Janis Johnson [Sat, 8 Oct 2005 22:21:11 +0000 (22:21 +0000)]
Partial backport from mainline 2004-05-04 Paolo Bonzini <bonzini@gnu.org> Richard Henderson <rth@redhat.com>
Partial backport from mainline
2004-05-04 Paolo Bonzini <bonzini@gnu.org>
Richard Henderson <rth@redhat.com>
* c-common.c (vector_types_convertible_p): New function.
* c-common.h: Declare it.
* c-typeck.c (digest_init): Use it.
testsuite:
* gcc.dg/altivec-pr18583.c: New test.
From-SVN: r105124
James E Wilson [Sat, 8 Oct 2005 00:22:20 +0000 (17:22 -0700)]
Fix typo in IA-64 options docs.
PR target/23644
* doc/invoke.texi (IA-64 Options, item -mtune): Renamed from
-mtune-arch.
From-SVN: r105111
GCC Administrator [Sat, 8 Oct 2005 00:16:13 +0000 (00:16 +0000)]
Daily bump.
[[Split portion of a mixed commit.]]
From-SVN: r105108.1
GCC Administrator [Fri, 7 Oct 2005 00:16:14 +0000 (00:16 +0000)]
Daily bump.
[[Split portion of a mixed commit.]]
From-SVN: r105076.1
Volker Reichelt [Thu, 6 Oct 2005 14:07:03 +0000 (14:07 +0000)]
* call.c (resolve_args): Remove redundant test.
From-SVN: r105035
GCC Administrator [Thu, 6 Oct 2005 00:16:12 +0000 (00:16 +0000)]
Daily bump.
[[Split portion of a mixed commit.]]
From-SVN: r105025.1
GCC Administrator [Wed, 5 Oct 2005 00:16:41 +0000 (00:16 +0000)]
Daily bump.
[[Split portion of a mixed commit.]]
From-SVN: r104966.1
GCC Administrator [Tue, 4 Oct 2005 00:16:11 +0000 (00:16 +0000)]
Daily bump.
[[Split portion of a mixed commit.]]
From-SVN: r104926.1
GCC Administrator [Mon, 3 Oct 2005 00:16:12 +0000 (00:16 +0000)]
Daily bump.
[[Split portion of a mixed commit.]]
From-SVN: r104885.1
Richard Earnshaw [Sat, 1 Oct 2005 13:31:38 +0000 (13:31 +0000)]
re PR target/23985 (Memory aliasing information incorrect in inlined memcpy)
PR target/23985
Back-port 2004-08-19 Richard Henderson <rth@redhat.com>
* config/arm/arm.c (arm_gen_load_multiple): Use
adjust_automodify_address. Take base memory and offset instead
of unchanging/struct/scalar bits.
(arm_gen_store_multiple): Likewise.
(arm_gen_movstrqi): Use adjust_automodify_address.
* config/arm/arm-protos.h: Update decls.
* config/arm/arm.md (load_multiple): Update arm_gen_load_multiple call.
(store_multiple): Similarly.
From-SVN: r104857
GCC Administrator [Sat, 1 Oct 2005 00:16:27 +0000 (00:16 +0000)]
Daily bump.
[[Split portion of a mixed commit.]]
From-SVN: r104842.1
GCC Administrator [Fri, 30 Sep 2005 00:17:53 +0000 (00:17 +0000)]
Daily bump.
[[Split portion of a mixed commit.]]
From-SVN: r104805.1
Alan Modra [Thu, 29 Sep 2005 04:48:44 +0000 (04:48 +0000)]
re PR target/24102 (floatdisf2_internal2 broken)
PR target/24102
* config/rs6000/rs6000.md (floatdisf2_internal2): Correct range
check for numbers that need no bit twiddle.
From-SVN: r104763
GCC Administrator [Thu, 29 Sep 2005 00:18:51 +0000 (00:18 +0000)]
Daily bump.
[[Split portion of a mixed commit.]]
From-SVN: r104752.1
GCC Administrator [Thu, 29 Sep 2005 00:18:40 +0000 (00:18 +0000)]
Daily bump.
[[Split portion of a mixed commit.]]
From-SVN: r104751.1
GCC Administrator [Wed, 28 Sep 2005 00:16:17 +0000 (00:16 +0000)]
Daily bump.
[[Split portion of a mixed commit.]]
From-SVN: r104716.1
GCC Administrator [Wed, 28 Sep 2005 00:16:10 +0000 (00:16 +0000)]
Daily bump.
[[Split portion of a mixed commit.]]
From-SVN: r104715.1
GCC Administrator [Tue, 27 Sep 2005 00:16:45 +0000 (00:16 +0000)]
Daily bump.
[[Split portion of a mixed commit.]]
From-SVN: r104671.1
GCC Administrator [Tue, 27 Sep 2005 00:16:08 +0000 (00:16 +0000)]
Daily bump.
[[Split portion of a mixed commit.]]
From-SVN: r104670.1
GCC Administrator [Mon, 26 Sep 2005 00:16:15 +0000 (00:16 +0000)]
Daily bump.
[[Split portion of a mixed commit.]]
From-SVN: r104631.1
GCC Administrator [Mon, 26 Sep 2005 00:16:08 +0000 (00:16 +0000)]
Daily bump.
[[Split portion of a mixed commit.]]
From-SVN: r104630.1
GCC Administrator [Sun, 25 Sep 2005 00:16:14 +0000 (00:16 +0000)]
Daily bump.
[[Split portion of a mixed commit.]]
From-SVN: r104612.1
GCC Administrator [Sun, 25 Sep 2005 00:16:08 +0000 (00:16 +0000)]
Daily bump.
[[Split portion of a mixed commit.]]
From-SVN: r104611.1
GCC Administrator [Sat, 24 Sep 2005 00:16:42 +0000 (00:16 +0000)]
Daily bump.
[[Split portion of a mixed commit.]]
From-SVN: r104595.1
GCC Administrator [Sat, 24 Sep 2005 00:16:37 +0000 (00:16 +0000)]
Daily bump.
[[Split portion of a mixed commit.]]
From-SVN: r104594.1
GCC Administrator [Fri, 23 Sep 2005 00:19:02 +0000 (00:19 +0000)]
Daily bump.
[[Split portion of a mixed commit.]]
From-SVN: r104550.1
GCC Administrator [Fri, 23 Sep 2005 00:18:49 +0000 (00:18 +0000)]
Daily bump.
[[Split portion of a mixed commit.]]
From-SVN: r104549.1
GCC Administrator [Thu, 22 Sep 2005 00:16:19 +0000 (00:16 +0000)]
Daily bump.
[[Split portion of a mixed commit.]]
From-SVN: r104513.1
GCC Administrator [Thu, 22 Sep 2005 00:16:09 +0000 (00:16 +0000)]
Daily bump.
[[Split portion of a mixed commit.]]
From-SVN: r104512.1
Volker Reichelt [Wed, 21 Sep 2005 15:39:53 +0000 (15:39 +0000)]
re PR c++/23965 (Bogus error message: no matching function for call to 'foo(<type error>)')
PR c++/23965
* call.c (resolve_args): Return error_mark_node on arguments
whose TREE_TYPE is error_mark_node.
* g++.dg/template/error1.C: Reject "no matching function" message.
From-SVN: r104490
Volker Reichelt [Wed, 21 Sep 2005 15:08:00 +0000 (15:08 +0000)]
re PR c++/17609 (spurious error message after using keyword)
PR c++/17609
Backport:
2004-03-08 Mark Mitchell <mark@codesourcery.com>
* lex.c (unqualified_name_lookup_error): Create a dummy VAR_DECL
in the innermost scope, rather than at namespace scope.
* name-lookup.c (push_local_binding): Give it external linkage.
* name-lookup.h (push_local_binding): Declare it.
* g++.dg/lookup/error1.C: New test.
* g++.dg/lookup/ambig4.C: Tweak error messages.
* g++.dg/ext/stmtexpr4.C: Likewise.
* g++.dg/parse/error21.C: Tweak testcase.
Backport:
2004-03-02 Mark Mitchell <mark@codesourcery.com>
* g++.dg/lookup/koenig1.C: Tweak error messages.
* g++.dg/lookup/used-before-declaration.C: Likewise.
* g++.dg/other/do1.C: Likewise.
* g++.dg/overload/koenig1.C: Likewise.
* g++.dg/parse/crash13.C: Likewise.
From-SVN: r104487
GCC Administrator [Wed, 21 Sep 2005 00:16:23 +0000 (00:16 +0000)]
Daily bump.
[[Split portion of a mixed commit.]]
From-SVN: r104473.1
GCC Administrator [Tue, 20 Sep 2005 00:16:19 +0000 (00:16 +0000)]
Daily bump.
[[Split portion of a mixed commit.]]
From-SVN: r104435.1
GCC Administrator [Mon, 19 Sep 2005 00:16:15 +0000 (00:16 +0000)]
Daily bump.
[[Split portion of a mixed commit.]]
From-SVN: r104409.1
GCC Administrator [Sun, 18 Sep 2005 00:16:15 +0000 (00:16 +0000)]
Daily bump.
[[Split portion of a mixed commit.]]
From-SVN: r104385.1
Volker Reichelt [Sat, 17 Sep 2005 21:57:26 +0000 (21:57 +0000)]
Backport:
2004-11-27 Mark Mitchell <mark@codesourcery.com>
PR c++/18368
* parser.c (cp_parser_check_for_definition_in_return_type): Take
the defined type as a parameter, and inform the user about the
possibility of a missing semicolon.
(cp_parser_explicit_instantiation): Adjust call to
cp_parser_check_for_definition_in_return_type.
(cp_parser_init_declarator): Likewise.
(cp_parser_member_declaration): Likewise.
PR c++/18368
* g++.dg/other/semicolon.C: New test.
From-SVN: r104377
Volker Reichelt [Sat, 17 Sep 2005 20:48:46 +0000 (20:48 +0000)]
re PR c++/18803 (rejects access to operator() in template)
PR c++/18803
Revert:
2005-09-02 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
PR c++/18445
* class.c (instantiate_type): Treat NON_DEPENDENT_EXPRs with
unknown_type as non matching.
* pt.c (build_non_dependent_expr): Do not build a
NON_DEPENDENT_EXPR for a VAR_DECL.
PR c++/18803
g++.dg/template/operator5.C: New test.
PR c++/18445
g++.dg/template/crash28.C: Remove.
From-SVN: r104374
GCC Administrator [Sat, 17 Sep 2005 00:16:14 +0000 (00:16 +0000)]
Daily bump.
[[Split portion of a mixed commit.]]
From-SVN: r104364.1
GCC Administrator [Fri, 16 Sep 2005 00:16:17 +0000 (00:16 +0000)]
Daily bump.
[[Split portion of a mixed commit.]]
From-SVN: r104333.1
GCC Administrator [Thu, 15 Sep 2005 00:16:18 +0000 (00:16 +0000)]
Daily bump.
[[Split portion of a mixed commit.]]
From-SVN: r104289.1
GCC Administrator [Wed, 14 Sep 2005 00:16:25 +0000 (00:16 +0000)]
Daily bump.
[[Split portion of a mixed commit.]]
From-SVN: r104251.1
GCC Administrator [Tue, 13 Sep 2005 00:16:23 +0000 (00:16 +0000)]
Daily bump.
[[Split portion of a mixed commit.]]
From-SVN: r104200.1
GCC Administrator [Mon, 12 Sep 2005 00:16:16 +0000 (00:16 +0000)]
Daily bump.
[[Split portion of a mixed commit.]]
From-SVN: r104147.1
GCC Administrator [Sun, 11 Sep 2005 00:16:12 +0000 (00:16 +0000)]
Daily bump.
[[Split portion of a mixed commit.]]
From-SVN: r104133.1
Joseph Myers [Sat, 10 Sep 2005 16:47:56 +0000 (17:47 +0100)]
c99_classification_macros_c.cc: XFAIL on *-*-linux*, not *-*-linux-gnu.
* testsuite/26_numerics/c99_classification_macros_c.cc:
XFAIL on *-*-linux*, not *-*-linux-gnu.
From-SVN: r104128
GCC Administrator [Sat, 10 Sep 2005 00:16:33 +0000 (00:16 +0000)]
Daily bump.
[[Split portion of a mixed commit.]]
From-SVN: r104119.1
Richard Guenther [Fri, 9 Sep 2005 13:37:03 +0000 (13:37 +0000)]
re PR c/20239 (ICE on empty preprocessed input)
2005-09-09 Richard Guenther <rguenther@suse.de>
PR c/20239
* cppinit.c (cpp_read_main_file): Avoid segfaulting on
NULL pfile->map.
From-SVN: r104096
Richard Guenther [Fri, 9 Sep 2005 10:19:52 +0000 (10:19 +0000)]
re PR c++/23624 (ICE: internal compiler error: in invert_truthvalue, at fold-const.c:2697)
2005-09-09 Richard Guenther <rguenther@suse.de>
PR c++/23624
* fold-const.c (fold): Check truth_value_p before calling
invert_truthvalue.
From-SVN: r104091
Craig Rodrigues [Fri, 9 Sep 2005 00:30:59 +0000 (00:30 +0000)]
backport: Wredundant-decls-2.c: New test to check that -Wredundant-decls does not issue warning for a variable...
Backport from mainline:
2005-09-01 Craig Rodrigues <rodrigc@gcc.gnu.org>
* gcc.dg/Wredundant-decls-2.c: New test to check that
-Wredundant-decls does not issue warning for a variable
definition following a declaration.
From-SVN: r104064
No Author [Fri, 9 Sep 2005 00:30:59 +0000 (00:30 +0000)]
This commit was manufactured by cvs2svn to create branch
'gcc-3_4-branch'.
From-SVN: r104063
Craig Rodrigues [Fri, 9 Sep 2005 00:21:01 +0000 (00:21 +0000)]
backport: c-decl.c (diagnose_mismatched_decls): With -Wredundant-decls...
Backport from mainline
2005-09-01 Craig Rodrigues <rodrigc@gcc.gnu.org>
* c-decl.c (diagnose_mismatched_decls): With -Wredundant-decls,
do not issue warning for a variable definition following
a declaration.
From-SVN: r104059
GCC Administrator [Fri, 9 Sep 2005 00:17:06 +0000 (00:17 +0000)]
Daily bump.
[[Split portion of a mixed commit.]]
From-SVN: r104056.1
GCC Administrator [Thu, 8 Sep 2005 00:16:16 +0000 (00:16 +0000)]
Daily bump.
[[Split portion of a mixed commit.]]
From-SVN: r104019.1
GCC Administrator [Wed, 7 Sep 2005 00:16:46 +0000 (00:16 +0000)]
Daily bump.
[[Split portion of a mixed commit.]]
From-SVN: r103975.1
Volker Reichelt [Tue, 6 Sep 2005 15:25:11 +0000 (15:25 +0000)]
Backport:
2004-12-14 Mark Mitchell <mark@codesourcery.com>
PR c++/18738
* decl.c (make_typename_type): Do not handle namespace-scoped
names here.
(tag_name): Handle typename_type.
(check_elaborated_type_specifier): Handle typenames.
* parser.c (cp_parser_diagnose_invalid_type_name): Do not call
make_typename_type for namespace-scoped names here.
(cp_parser_elaborated_type_specifier): Use
cp_parser_diagnose_invalid_type_name.
* g++.dg/template/typename8.C: New test.
* g++.dg/parse/friend2.C: Tweak error message.
From-SVN: r103951
GCC Administrator [Tue, 6 Sep 2005 00:16:29 +0000 (00:16 +0000)]
Daily bump.
[[Split portion of a mixed commit.]]
From-SVN: r103922.1
GCC Administrator [Mon, 5 Sep 2005 00:16:15 +0000 (00:16 +0000)]
Daily bump.
[[Split portion of a mixed commit.]]
From-SVN: r103841.1
GCC Administrator [Sun, 4 Sep 2005 00:16:13 +0000 (00:16 +0000)]
Daily bump.
[[Split portion of a mixed commit.]]
From-SVN: r103821.1
Volker Reichelt [Sat, 3 Sep 2005 19:53:01 +0000 (19:53 +0000)]
Backport:
2005-08-26 Mark Mitchell <mark@codesourcery.com>
PR c++/19004
* pt.c (uses_template_parms): Handle IDENTIFIER_NODE.
(type_dependent_expression_p): Allow BASELINKs whose associated
functions are simply a FUNCTION_DECL.
* g++.dg/template/nontype13.C: New test.
From-SVN: r103815
GCC Administrator [Sat, 3 Sep 2005 00:16:15 +0000 (00:16 +0000)]
Daily bump.
[[Split portion of a mixed commit.]]
From-SVN: r103799.1
Richard Sandiford [Fri, 2 Sep 2005 12:34:58 +0000 (12:34 +0000)]
re PR c/22061 (internal compiler error: in find_function_data, at function.c:317)
PR c/22061
* c-decl.c (push_parm_decl): Push and pop x_dont_save_pending_sizes_p
around the call to grokdeclarator. Call grokdeclarator with the
field set to 0.
(store_parm_decls): Always store the pending_sizes in cfun.
(c_expand_body_1): Call put_pending_sizes.
* c-objc-common.c (c_cannot_inline_tree_fn): Always check
pending_sizes.
From-SVN: r103776
No Author [Fri, 2 Sep 2005 12:34:58 +0000 (12:34 +0000)]
This commit was manufactured by cvs2svn to create branch
'gcc-3_4-branch'.
From-SVN: r103775
Volker Reichelt [Fri, 2 Sep 2005 11:20:21 +0000 (11:20 +0000)]
re PR c++/22233 (ICE with wrong number of template parameters)
PR c++/22233
* pt.c (push_template_decl_real): Return error_mark_node if the
number of template parameters does not match previous definition.
* decl.c (start_function): Handle error_mark_node returned by
push_template_decl.
* g++.dg/template/param1.C: New test.
From-SVN: r103770