[Bug c++/26114] [4.2 Regression] g++.dg/init/ctor4.C and g++.old-deja/g++.jason/overload34.C and g++.old-deja/g++.mike/p11110.C fails
--- Comment #8 from lmillward at gcc dot gnu dot org 2006-04-13 06:42 --- Removing those conditionals was meant to be submitted in a follow up to the patch i originally posted as suggested by Andrew Pinski. They must have gotten mixed in accidentally when I committed to OPT_Wxx cleanup patch. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26114
[Bug c++/27805] [4.2 regression] ICE with ptr-to-member of incomplete class
-- lmillward at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |lmillward at gcc dot gnu dot |dot org |org Status|UNCONFIRMED |ASSIGNED Ever Confirmed|0 |1 Last reconfirmed|-00-00 00:00:00 |2006-06-18 21:39:05 date|| http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27805
[Bug c++/27821] [4.0/4.1/4.2 regression] ICE with invalid ptr-to-member
-- lmillward at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |lmillward at gcc dot gnu dot |dot org |org Status|NEW |ASSIGNED Last reconfirmed|2006-05-31 02:33:42 |2006-06-18 21:39:53 date|| http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27821
[Bug c++/28051] [4.0/4.1/4.2 regression] ICE on invalid conversion operator
-- lmillward at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |lmillward at gcc dot gnu dot |dot org |org Status|NEW |ASSIGNED Last reconfirmed|2006-06-16 23:00:37 |2006-06-18 21:40:20 date|| http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28051
[Bug c++/28054] [4.2 regression] ICE with friend declaration of invalid bitfield
-- lmillward at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |lmillward at gcc dot gnu dot |dot org |org Status|UNCONFIRMED |ASSIGNED Ever Confirmed|0 |1 Last reconfirmed|-00-00 00:00:00 |2006-06-18 21:40:43 date|| http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28054
[Bug c++/27805] [4.2 regression] ICE with ptr-to-member of incomplete class
--- Comment #1 from lmillward at gcc dot gnu dot org 2006-06-22 17:48 --- Subject: Bug 27805 Author: lmillward Date: Thu Jun 22 17:48:41 2006 New Revision: 114897 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=114897 Log: PR c++/27805 * typeck2.c (build_m_component_ref): Use error_operand_p. Added: trunk/gcc/testsuite/g++.dg/parse/ptrmem6.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/typeck2.c trunk/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27805
[Bug c++/27805] [4.2 regression] ICE with ptr-to-member of incomplete class
--- Comment #2 from lmillward at gcc dot gnu dot org 2006-06-22 17:50 --- Fixed on mainline. -- lmillward at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution||FIXED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27805
[Bug c++/27821] [4.0/4.1/4.2 regression] ICE with invalid ptr-to-member
--- Comment #2 from lmillward at gcc dot gnu dot org 2006-06-22 18:05 --- Subject: Bug 27821 Author: lmillward Date: Thu Jun 22 18:05:17 2006 New Revision: 114899 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=114899 Log: PR c++/27821 * decl.c (grokdeclarator): Return error_mark_node on invalid uses of the scope resolution operator. Added: trunk/gcc/testsuite/g++.dg/template/error22.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/decl.c trunk/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27821
[Bug c++/27821] [4.0/4.1 regression] ICE with invalid ptr-to-member
--- Comment #3 from lmillward at gcc dot gnu dot org 2006-06-22 18:10 --- Fixed on mainline. Will apply to the 4.1/4.0 branches when I get chance. -- lmillward at gcc dot gnu dot org changed: What|Removed |Added Summary|[4.0/4.1/4.2 regression] ICE|[4.0/4.1 regression] ICE |with invalid ptr-to-member |with invalid ptr-to-member http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27821
[Bug c++/28051] [4.0/4.1/4.2 regression] ICE on invalid conversion operator
--- Comment #3 from lmillward at gcc dot gnu dot org 2006-06-25 11:07 --- Subject: Bug 28051 Author: lmillward Date: Sun Jun 25 11:07:05 2006 New Revision: 114985 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=114985 Log: PR c++/28051 * mangle.c (mangle_conv_op_name_for_type): Check for invalid types. *name-lookup.c (push_class_level_binding): Robustify. (do_class_using_decl): Return early if name is error_mark_node. Added: trunk/gcc/testsuite/g++.dg/template/using13.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/mangle.c trunk/gcc/cp/name-lookup.c trunk/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28051
[Bug c++/28051] [4.0/4.1 regression] ICE on invalid conversion operator
--- Comment #4 from lmillward at gcc dot gnu dot org 2006-06-25 11:07 --- Fixed on mainline. -- lmillward at gcc dot gnu dot org changed: What|Removed |Added Summary|[4.0/4.1/4.2 regression] ICE|[4.0/4.1 regression] ICE on |on invalid conversion |invalid conversion operator |operator| http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28051
[Bug c++/28054] [4.2 regression] ICE with friend declaration of invalid bitfield
--- Comment #1 from lmillward at gcc dot gnu dot org 2006-06-25 11:28 --- Subject: Bug 28054 Author: lmillward Date: Sun Jun 25 11:28:01 2006 New Revision: 114986 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=114986 Log: PR c++/28054 * decl2.c (grokbitfield): Remove check for grokdeclarator returning NULL_TREE, instead check for error_mark_node to indicate failure. * decl.c (grokdeclarator): Adjust block comment. * g++.dg/other/incomplete3.C: New test. Added: trunk/gcc/testsuite/g++.dg/other/incomplete3.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/decl.c trunk/gcc/cp/decl2.c trunk/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28054
[Bug c++/28054] [4.2 regression] ICE with friend declaration of invalid bitfield
--- Comment #2 from lmillward at gcc dot gnu dot org 2006-06-25 11:28 --- Fixed. -- lmillward at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution||FIXED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28054
[Bug c++/27821] [4.0/4.1 regression] ICE with invalid ptr-to-member
--- Comment #4 from lmillward at gcc dot gnu dot org 2006-06-25 17:00 --- Subject: Bug 27821 Author: lmillward Date: Sun Jun 25 17:00:43 2006 New Revision: 114988 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=114988 Log: PR c++/27821 * decl.c (grokdeclarator): Return error_mark_node on invalid uses of the scope resolution operator. Added: branches/gcc-4_1-branch/gcc/testsuite/g++.dg/template/error22.C Modified: branches/gcc-4_1-branch/gcc/cp/ChangeLog branches/gcc-4_1-branch/gcc/cp/decl.c branches/gcc-4_1-branch/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27821
[Bug c++/27821] [4.0/4.1 regression] ICE with invalid ptr-to-member
--- Comment #5 from lmillward at gcc dot gnu dot org 2006-06-25 17:05 --- Subject: Bug 27821 Author: lmillward Date: Sun Jun 25 17:05:22 2006 New Revision: 114989 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=114989 Log: PR c++/27821 * decl.c (grokdeclarator): Return error_mark_node on invalid uses of the scope resolution operator. Added: branches/gcc-4_0-branch/gcc/testsuite/g++.dg/template/error22.C Modified: branches/gcc-4_0-branch/gcc/cp/ChangeLog branches/gcc-4_0-branch/gcc/cp/decl.c branches/gcc-4_0-branch/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27821
[Bug c++/27821] [4.0/4.1 regression] ICE with invalid ptr-to-member
--- Comment #6 from lmillward at gcc dot gnu dot org 2006-06-25 17:06 --- Fixed in 4.1.2 and 4.0.4. -- lmillward at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution||FIXED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27821
[Bug c++/27820] [4.0/4.1/4.2 regression] ICE with duplicate label
--- Comment #4 from lmillward at gcc dot gnu dot org 2006-06-30 18:37 --- Propopsed patch: http://gcc.gnu.org/ml/gcc-patches/2006-06/msg01525.html -- lmillward at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |lmillward at gcc dot gnu dot |dot org |org Status|NEW |ASSIGNED Last reconfirmed|2006-05-31 02:32:56 |2006-06-30 18:37:24 date|| http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27820
[Bug c++/27820] [4.0/4.1/4.2 regression] ICE with duplicate label
--- Comment #5 from lmillward at gcc dot gnu dot org 2006-07-07 17:57 --- Subject: Bug 27820 Author: lmillward Date: Fri Jul 7 17:57:12 2006 New Revision: 115265 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=115265 Log: PR c++/27820 * decl.c (define_label): Return error_mark_node on error. * semantics.c (finish_label_stmt): Don't call add_stmt for invalid labels. * g++.dg/other/label1.C: New test. Added: trunk/gcc/testsuite/g++.dg/other/label1.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/decl.c trunk/gcc/cp/semantics.c trunk/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27820
[Bug c++/27820] [4.0/4.1 regression] ICE with duplicate label
--- Comment #6 from lmillward at gcc dot gnu dot org 2006-07-07 17:59 --- Fixed on mainline. Will apply to release branches once testing completes. -- lmillward at gcc dot gnu dot org changed: What|Removed |Added Summary|[4.0/4.1/4.2 regression] ICE|[4.0/4.1 regression] ICE |with duplicate label|with duplicate label http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27820
[Bug c++/27820] [4.0/4.1 regression] ICE with duplicate label
--- Comment #7 from lmillward at gcc dot gnu dot org 2006-07-08 16:39 --- Subject: Bug 27820 Author: lmillward Date: Sat Jul 8 16:39:20 2006 New Revision: 115283 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=115283 Log: PR c++/27820 * decl.c (define_label): Return error_mark_node on error. * semantics.c (finish_label_stmt): Don't call add_stmt for invalid labels. PR c++/27820 * g++.dg/other/label1.C: New test. Added: branches/gcc-4_1-branch/gcc/testsuite/g++.dg/other/label1.C Modified: branches/gcc-4_1-branch/gcc/cp/ChangeLog branches/gcc-4_1-branch/gcc/cp/decl.c branches/gcc-4_1-branch/gcc/cp/semantics.c branches/gcc-4_1-branch/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27820
[Bug c++/27820] [4.0/4.1 regression] ICE with duplicate label
--- Comment #8 from lmillward at gcc dot gnu dot org 2006-07-08 16:45 --- Subject: Bug 27820 Author: lmillward Date: Sat Jul 8 16:45:09 2006 New Revision: 115284 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=115284 Log: PR c++/27820 * decl.c (define_label): Return error_mark_node on error. * semantics.c (finish_label_stmt): Don't call add_stmt for invalid labels. PR c++/27820 * g++.dg/other/label1.C: New test. Added: branches/gcc-4_0-branch/gcc/testsuite/g++.dg/other/label1.C Modified: branches/gcc-4_0-branch/gcc/cp/ChangeLog branches/gcc-4_0-branch/gcc/cp/decl.c branches/gcc-4_0-branch/gcc/cp/semantics.c branches/gcc-4_0-branch/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27820
[Bug c++/27820] [4.0/4.1 regression] ICE with duplicate label
--- Comment #9 from lmillward at gcc dot gnu dot org 2006-07-08 16:46 --- Fixed in 4.1.2 and 4.0.4. -- lmillward at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution||FIXED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27820
[Bug c++/28269] [4.2 regression] ICE on attribute for invalid template
-- lmillward at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |lmillward at gcc dot gnu dot |dot org |org Status|UNCONFIRMED |ASSIGNED Ever Confirmed|0 |1 Last reconfirmed|-00-00 00:00:00 |2006-07-09 20:00:24 date|| http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28269
[Bug c++/28292] [4.2 regression] ICE in acceptable_java_type
-- lmillward at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |lmillward at gcc dot gnu dot |dot org |org Status|UNCONFIRMED |ASSIGNED Ever Confirmed|0 |1 Last reconfirmed|-00-00 00:00:00 |2006-07-09 20:01:02 date|| http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28292
[Bug c++/28051] [4.0/4.1 regression] ICE on invalid conversion operator
--- Comment #6 from lmillward at gcc dot gnu dot org 2006-07-11 17:25 --- Subject: Bug 28051 Author: lmillward Date: Tue Jul 11 17:25:01 2006 New Revision: 115347 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=115347 Log: PR c++/28051 * mangle.c (mangle_conv_op_name_for_type): Check for invalid types. * name-lookup.c (push_class_level_binding): Robustify. (do_class_using_decl): Return early if name is error_mark_node. Added: branches/gcc-4_1-branch/gcc/testsuite/g++.dg/template/using13.C Modified: branches/gcc-4_1-branch/gcc/cp/ChangeLog branches/gcc-4_1-branch/gcc/cp/mangle.c branches/gcc-4_1-branch/gcc/cp/name-lookup.c branches/gcc-4_1-branch/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28051
[Bug c++/28051] [4.0/4.1 regression] ICE on invalid conversion operator
--- Comment #7 from lmillward at gcc dot gnu dot org 2006-07-11 17:37 --- Subject: Bug 28051 Author: lmillward Date: Tue Jul 11 17:37:31 2006 New Revision: 115352 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=115352 Log: PR c++/28051 * mangle.c (mangle_conv_op_name_for_type): Check for invalid types. * name-lookup.c (push_class_level_binding): Robustify. (do_class_using_decl): Return early if name is error_mark_node. Added: branches/gcc-4_0-branch/gcc/testsuite/g++.dg/template/using10.C Modified: branches/gcc-4_0-branch/gcc/cp/ChangeLog branches/gcc-4_0-branch/gcc/cp/mangle.c branches/gcc-4_0-branch/gcc/cp/name-lookup.c branches/gcc-4_0-branch/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28051
[Bug c++/28051] [4.0/4.1 regression] ICE on invalid conversion operator
--- Comment #8 from lmillward at gcc dot gnu dot org 2006-07-11 17:38 --- Fixed in 4.1.2 and 4.0.4 -- lmillward at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution||FIXED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28051
[Bug c++/28051] [4.0 regression] ICE on invalid conversion operator
--- Comment #10 from lmillward at gcc dot gnu dot org 2006-07-13 17:33 --- Weird, I bootstrapped and tested this patch on the 4.0 branch not long before applying. I'll take a look and see if I can see why the new testcase is ICE'ing. -- lmillward at gcc dot gnu dot org changed: What|Removed |Added CC| |lmillward at gcc dot gnu dot | |org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28051
[Bug c++/28292] [4.2 regression] ICE in acceptable_java_type
--- Comment #2 from lmillward at gcc dot gnu dot org 2006-07-15 14:45 --- Subject: Bug 28292 Author: lmillward Date: Sat Jul 15 14:44:48 2006 New Revision: 115474 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=115474 Log: PR c++/28292 * decl2.c (acceptable_java_type): Robustify. Use proper Boolean return type instead of return 1. (check_java_method): Don't issue error about type not being an acceptable Java parameter if it's error_mark_node. * g++.dg/other/error12.C: New test. Added: trunk/gcc/testsuite/g++.dg/other/error12.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/decl2.c trunk/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28292
[Bug c++/28292] [4.2 regression] ICE in acceptable_java_type
--- Comment #3 from lmillward at gcc dot gnu dot org 2006-07-15 14:46 --- Fixed. -- lmillward at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution||FIXED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28292
[Bug c++/28269] [4.2 regression] ICE on attribute for invalid template
--- Comment #2 from lmillward at gcc dot gnu dot org 2006-07-15 15:00 --- Subject: Bug 28269 Author: lmillward Date: Sat Jul 15 15:00:28 2006 New Revision: 115475 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=115475 Log: PR c++/28269 * parser.c (cp_parser_elaborated_type_specifier): Return early if an invalid type was detected. * g++.dg/template/crash54.C: New test. Added: trunk/gcc/testsuite/g++.dg/template/crash54.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/parser.c trunk/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28269
[Bug c++/28269] [4.2 regression] ICE on attribute for invalid template
--- Comment #3 from lmillward at gcc dot gnu dot org 2006-07-15 15:01 --- Fixed. -- lmillward at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution||FIXED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28269
[Bug c++/28051] [4.0 regression] ICE on invalid conversion operator
--- Comment #11 from lmillward at gcc dot gnu dot org 2006-07-15 20:38 --- I've posted a patch which fixes the bug properly on the 4.0 branch and allows the testcase added to pass. URL - http://gcc.gnu.org/ml/gcc-patches/2006-07/msg00689.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28051
[Bug c++/28051] [4.0 regression] ICE on invalid conversion operator
--- Comment #12 from lmillward at gcc dot gnu dot org 2006-07-17 18:21 --- Subject: Bug 28051 Author: lmillward Date: Mon Jul 17 18:21:15 2006 New Revision: 115530 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=115530 Log: PR c++/28051 * search.c (lookup_member): Robustify * g++.dg/template/using10.C: Adjust error markers. Modified: branches/gcc-4_0-branch/gcc/cp/ChangeLog branches/gcc-4_0-branch/gcc/cp/search.c branches/gcc-4_0-branch/gcc/testsuite/ChangeLog branches/gcc-4_0-branch/gcc/testsuite/g++.dg/template/using10.C -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28051
[Bug c++/28051] [4.0 regression] ICE on invalid conversion operator
--- Comment #13 from lmillward at gcc dot gnu dot org 2006-07-17 18:22 --- Fix applied to 4.0 branch which should resolve the testsuite failure mentioned. -- lmillward at gcc dot gnu dot org changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution||FIXED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28051
[Bug c++/28258] [4.0/4.1/4.2 regression] ICE with invalid constructor
-- lmillward at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |lmillward at gcc dot gnu dot |dot org |org Status|UNCONFIRMED |ASSIGNED Ever Confirmed|0 |1 Last reconfirmed|-00-00 00:00:00 |2006-07-17 22:06:47 date|| http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28258
[Bug c++/28260] ICE with incompatible friend declaration
-- lmillward at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |lmillward at gcc dot gnu dot |dot org |org Status|UNCONFIRMED |ASSIGNED Ever Confirmed|0 |1 Last reconfirmed|-00-00 00:00:00 |2006-07-17 22:07:04 date|| http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28260
[Bug c++/28260] ICE with incompatible friend declaration
--- Comment #1 from lmillward at gcc dot gnu dot org 2006-07-18 17:22 --- Subject: Bug 28260 Author: lmillward Date: Tue Jul 18 17:22:39 2006 New Revision: 115561 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=115561 Log: PR c++/28258 * method.c (locate_copy): Check for non_reference returning error_mark_node. PR c++/28260 * decl.c (duplicate_decls): Return error_mark_node on ambiguous declaration. PR c++/28258 * g++/dg/other/error13.C: New test. PR c++/28260 * g++.dg/template/friend44.C: New test. Added: trunk/gcc/testsuite/g++.dg/other/error13.C trunk/gcc/testsuite/g++.dg/template/friend44.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/decl.c trunk/gcc/cp/method.c trunk/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28260
[Bug c++/28258] [4.0/4.1/4.2 regression] ICE with invalid constructor
--- Comment #1 from lmillward at gcc dot gnu dot org 2006-07-18 17:22 --- Subject: Bug 28258 Author: lmillward Date: Tue Jul 18 17:22:39 2006 New Revision: 115561 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=115561 Log: PR c++/28258 * method.c (locate_copy): Check for non_reference returning error_mark_node. PR c++/28260 * decl.c (duplicate_decls): Return error_mark_node on ambiguous declaration. PR c++/28258 * g++/dg/other/error13.C: New test. PR c++/28260 * g++.dg/template/friend44.C: New test. Added: trunk/gcc/testsuite/g++.dg/other/error13.C trunk/gcc/testsuite/g++.dg/template/friend44.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/decl.c trunk/gcc/cp/method.c trunk/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28258
[Bug c++/28258] [4.0/4.1 regression] ICE with invalid constructor
--- Comment #2 from lmillward at gcc dot gnu dot org 2006-07-18 17:23 --- Fixed on mainline. Will apply to release branches once testing completes. -- lmillward at gcc dot gnu dot org changed: What|Removed |Added Summary|[4.0/4.1/4.2 regression] ICE|[4.0/4.1 regression] ICE |with invalid constructor|with invalid constructor http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28258
[Bug c++/28260] ICE with incompatible friend declaration
--- Comment #2 from lmillward at gcc dot gnu dot org 2006-07-18 17:24 --- Fixed on mainline. -- lmillward at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution||FIXED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28260
[Bug c++/28258] [4.0/4.1 regression] ICE with invalid constructor
--- Comment #3 from lmillward at gcc dot gnu dot org 2006-07-22 14:03 --- Subject: Bug 28258 Author: lmillward Date: Sat Jul 22 14:03:16 2006 New Revision: 115674 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=115674 Log: PR c++/28258 * method.c (locate_copy): Check for non_reference returning error_mark_node. * g++/dg/other/error11.C: New test. Added: branches/gcc-4_1-branch/gcc/testsuite/g++.dg/other/error11.C Modified: branches/gcc-4_1-branch/gcc/cp/ChangeLog branches/gcc-4_1-branch/gcc/cp/method.c branches/gcc-4_1-branch/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28258
[Bug c++/28258] [4.0/4.1 regression] ICE with invalid constructor
--- Comment #4 from lmillward at gcc dot gnu dot org 2006-07-22 14:08 --- Subject: Bug 28258 Author: lmillward Date: Sat Jul 22 14:07:57 2006 New Revision: 115675 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=115675 Log: PR c++/28258 * method.c (locate_copy): Check for non_reference returning error_mark_node. * g++/dg/other/error10.C: New test. Added: branches/gcc-4_0-branch/gcc/testsuite/g++.dg/other/error10.C Modified: branches/gcc-4_0-branch/gcc/cp/ChangeLog branches/gcc-4_0-branch/gcc/cp/method.c branches/gcc-4_0-branch/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28258
[Bug c++/28258] [4.0/4.1 regression] ICE with invalid constructor
--- Comment #5 from lmillward at gcc dot gnu dot org 2006-07-22 14:08 --- Fixed in 4.1.2 and 4.0.4 -- lmillward at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution||FIXED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28258
[Bug c++/27668] [4.0/4.1/4.2 regression] ICE with invalid template parameter
-- lmillward at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |lmillward at gcc dot gnu dot |dot org |org Status|NEW |ASSIGNED Last reconfirmed|2006-05-26 15:06:09 |2006-07-26 18:04:00 date|| http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27668
[Bug c++/27962] [4.0/4.1 regression] ICE with invalid template parameter in specialization
-- lmillward at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |lmillward at gcc dot gnu dot |dot org |org Status|NEW |ASSIGNED Last reconfirmed|2006-06-16 23:02:33 |2006-07-26 22:31:06 date|| http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27962
[Bug c++/27668] [4.0/4.1/4.2 regression] ICE with invalid template parameter
--- Comment #4 from lmillward at gcc dot gnu dot org 2006-07-28 17:01 --- Subject: Bug 27668 Author: lmillward Date: Fri Jul 28 17:01:19 2006 New Revision: 115800 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=115800 Log: PR c++/27668 PR c++/27962 * pt.c (process_template_parm) Store invalid template parameters as error_mark_node in the paramater list. (push_inline_template_parms_recursive): Handle invalid template parameters. (comp_template_parms): Likewise. (check_default_tmpl_arg): Likewise. (coerce_template_template_parms): Likewise. (mangle_class_name_for_template): Likewise. (tsubst_template_parms): Likewise. * error.c (dump_template_argument_list): Likewise. * g++.dg/template/crash55.C: New test. * g++.dg/template/nontype16.C: New test. * g++.dg/template/void2.C: Adjust error markers. * g++.dg/template/nontype5.C: Adjust error markers. Added: trunk/gcc/testsuite/g++.dg/template/crash55.C trunk/gcc/testsuite/g++.dg/template/nontype16.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/error.c trunk/gcc/cp/pt.c trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/g++.dg/template/nontype5.C trunk/gcc/testsuite/g++.dg/template/void2.C -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27668
[Bug c++/27962] [4.0/4.1 regression] ICE with invalid template parameter in specialization
--- Comment #2 from lmillward at gcc dot gnu dot org 2006-07-28 17:01 --- Subject: Bug 27962 Author: lmillward Date: Fri Jul 28 17:01:19 2006 New Revision: 115800 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=115800 Log: PR c++/27668 PR c++/27962 * pt.c (process_template_parm) Store invalid template parameters as error_mark_node in the paramater list. (push_inline_template_parms_recursive): Handle invalid template parameters. (comp_template_parms): Likewise. (check_default_tmpl_arg): Likewise. (coerce_template_template_parms): Likewise. (mangle_class_name_for_template): Likewise. (tsubst_template_parms): Likewise. * error.c (dump_template_argument_list): Likewise. * g++.dg/template/crash55.C: New test. * g++.dg/template/nontype16.C: New test. * g++.dg/template/void2.C: Adjust error markers. * g++.dg/template/nontype5.C: Adjust error markers. Added: trunk/gcc/testsuite/g++.dg/template/crash55.C trunk/gcc/testsuite/g++.dg/template/nontype16.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/error.c trunk/gcc/cp/pt.c trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/g++.dg/template/nontype5.C trunk/gcc/testsuite/g++.dg/template/void2.C -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27962
[Bug c++/27668] [4.0/4.1 regression] ICE with invalid template parameter
--- Comment #5 from lmillward at gcc dot gnu dot org 2006-07-28 17:02 --- Fixed on mainline. Will apply to 4.1 branch when testing completes. -- lmillward at gcc dot gnu dot org changed: What|Removed |Added Summary|[4.0/4.1/4.2 regression] ICE|[4.0/4.1 regression] ICE |with invalid template |with invalid template |parameter |parameter http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27668
[Bug c++/27962] [4.0/4.1 regression] ICE with invalid template parameter in specialization
--- Comment #3 from lmillward at gcc dot gnu dot org 2006-07-28 17:03 --- Fixed on mainline. Will apply to 4.1 branch when testing completes. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27962
[Bug c++/27962] [4.1 regression] ICE with invalid template parameter in specialization
--- Comment #4 from lmillward at gcc dot gnu dot org 2006-07-28 21:17 --- Subject: Bug 27962 Author: lmillward Date: Fri Jul 28 21:17:28 2006 New Revision: 115801 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=115801 Log: PR c++/27668 PR c++/27962 * pt.c (process_template_parm) Store invalid template parameters as error_mark_node in the paramater list. (push_inline_template_parms_recursive): Handle invalid template parameters. (comp_template_parms): Likewise. (check_default_tmpl_args): Likewise. (coerce_template_template_parms): Likewise. (coerce_template_parms): Likewise. (mangle_class_name_for_template): Likewise. (tsubst_template_parms): Likewise. * error.c (dump_template_argument_list): Likewise. * g++.dg/template/crash54.C: New test. * g++.dg/template/nontype16.C: New test. * g++.dg/template/nontype5.C: Adjust error markers. Added: branches/gcc-4_1-branch/gcc/testsuite/g++.dg/template/crash54.C branches/gcc-4_1-branch/gcc/testsuite/g++.dg/template/nontype16.C Modified: branches/gcc-4_1-branch/gcc/cp/ChangeLog branches/gcc-4_1-branch/gcc/cp/error.c branches/gcc-4_1-branch/gcc/cp/pt.c branches/gcc-4_1-branch/gcc/testsuite/ChangeLog branches/gcc-4_1-branch/gcc/testsuite/g++.dg/template/nontype5.C -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27962
[Bug c++/27668] [4.0/4.1 regression] ICE with invalid template parameter
--- Comment #6 from lmillward at gcc dot gnu dot org 2006-07-28 21:17 --- Subject: Bug 27668 Author: lmillward Date: Fri Jul 28 21:17:28 2006 New Revision: 115801 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=115801 Log: PR c++/27668 PR c++/27962 * pt.c (process_template_parm) Store invalid template parameters as error_mark_node in the paramater list. (push_inline_template_parms_recursive): Handle invalid template parameters. (comp_template_parms): Likewise. (check_default_tmpl_args): Likewise. (coerce_template_template_parms): Likewise. (coerce_template_parms): Likewise. (mangle_class_name_for_template): Likewise. (tsubst_template_parms): Likewise. * error.c (dump_template_argument_list): Likewise. * g++.dg/template/crash54.C: New test. * g++.dg/template/nontype16.C: New test. * g++.dg/template/nontype5.C: Adjust error markers. Added: branches/gcc-4_1-branch/gcc/testsuite/g++.dg/template/crash54.C branches/gcc-4_1-branch/gcc/testsuite/g++.dg/template/nontype16.C Modified: branches/gcc-4_1-branch/gcc/cp/ChangeLog branches/gcc-4_1-branch/gcc/cp/error.c branches/gcc-4_1-branch/gcc/cp/pt.c branches/gcc-4_1-branch/gcc/testsuite/ChangeLog branches/gcc-4_1-branch/gcc/testsuite/g++.dg/template/nontype5.C -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27668
[Bug c++/27668] [4.0 regression] ICE with invalid template parameter
--- Comment #7 from lmillward at gcc dot gnu dot org 2006-07-28 21:19 --- Fixed in 4.1.2 -- lmillward at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|lmillward at gcc dot gnu dot|unassigned at gcc dot gnu |org |dot org Status|ASSIGNED|NEW Summary|[4.0/4.1 regression] ICE|[4.0 regression] ICE with |with invalid template |invalid template parameter |parameter | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27668
[Bug c++/27962] [4.1 regression] ICE with invalid template parameter in specialization
--- Comment #5 from lmillward at gcc dot gnu dot org 2006-07-28 21:20 --- Fixed in 4.1.2 -- lmillward at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution||FIXED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27962
[Bug c++/28347] [4.1/4.2 regression] ICE on typedef with initialization
-- lmillward at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |lmillward at gcc dot gnu dot |dot org |org Status|UNCONFIRMED |ASSIGNED Ever Confirmed|0 |1 Last reconfirmed|-00-00 00:00:00 |2006-08-02 20:59:57 date|| http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28347
[Bug c++/28594] [4.1/4.2 regression] ICE with invalid template parameter
--- Comment #1 from lmillward at gcc dot gnu dot org 2006-08-04 08:10 --- I'll take a look at it. -- lmillward at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |lmillward at gcc dot gnu dot |dot org |org Status|UNCONFIRMED |ASSIGNED Ever Confirmed|0 |1 Last reconfirmed|-00-00 00:00:00 |2006-08-04 08:10:34 date|| http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28594
[Bug c++/28347] [4.1/4.2 regression] ICE on typedef with initialization
--- Comment #2 from lmillward at gcc dot gnu dot org 2006-08-04 18:08 --- Subject: Bug 28347 Author: lmillward Date: Fri Aug 4 18:08:14 2006 New Revision: 115931 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=115931 Log: PR c++/28347 * decl.c (start_decl): Return error_mark_node if a diagnostic was issed for an invalid typedef initialization. * g++.dg/ext/typedef-init.C: Add new test for typedef initialization inside templates. Adjust existing error markers Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/decl.c trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/g++.dg/ext/typedef-init.C -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28347
[Bug c++/28347] [4.1 regression] ICE on typedef with initialization
--- Comment #3 from lmillward at gcc dot gnu dot org 2006-08-04 18:09 --- Fixed on mainline. -- lmillward at gcc dot gnu dot org changed: What|Removed |Added Summary|[4.1/4.2 regression] ICE on |[4.1 regression] ICE on |typedef with initialization |typedef with initialization http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28347
[Bug c++/28347] [4.1 regression] ICE on typedef with initialization
--- Comment #4 from lmillward at gcc dot gnu dot org 2006-08-04 20:04 --- Subject: Bug 28347 Author: lmillward Date: Fri Aug 4 20:03:59 2006 New Revision: 115933 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=115933 Log: PR c++/28347 * decl.c (start_decl): Return error_mark_node if a diagnostic was issed for an invalid typedef initialization. * g++.dg/ext/typedef-init.C: Add new test for typedef initialization inside templates. Adjust existing error markers. Modified: branches/gcc-4_1-branch/gcc/cp/ChangeLog branches/gcc-4_1-branch/gcc/cp/decl.c branches/gcc-4_1-branch/gcc/testsuite/ChangeLog branches/gcc-4_1-branch/gcc/testsuite/g++.dg/ext/typedef-init.C -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28347
[Bug c++/28347] [4.1 regression] ICE on typedef with initialization
--- Comment #5 from lmillward at gcc dot gnu dot org 2006-08-04 20:04 --- Fixed in 4.1.2 -- lmillward at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution||FIXED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28347
[Bug c++/28637] [4.1/4.2 regression] ICE on invalid template parameter
-- lmillward at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |lmillward at gcc dot gnu dot |dot org |org Status|UNCONFIRMED |ASSIGNED Ever Confirmed|0 |1 Last reconfirmed|-00-00 00:00:00 |2006-08-07 20:01:49 date|| http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28637
[Bug c++/28638] [4.1/4.2 regression] ICE on invalid template parameter
-- lmillward at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |lmillward at gcc dot gnu dot |dot org |org Status|UNCONFIRMED |ASSIGNED Ever Confirmed|0 |1 Last reconfirmed|-00-00 00:00:00 |2006-08-07 20:02:08 date|| http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28638
[Bug c++/28640] [4.1/4.2 regression] ICE redeclaring template with invalid parameter
-- lmillward at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |lmillward at gcc dot gnu dot |dot org |org Status|UNCONFIRMED |ASSIGNED Ever Confirmed|0 |1 Last reconfirmed|-00-00 00:00:00 |2006-08-07 20:02:43 date|| http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28640
[Bug c++/28637] [4.1/4.2 regression] ICE on invalid template parameter
--- Comment #2 from lmillward at gcc dot gnu dot org 2006-08-09 18:43 --- Subject: Bug 28637 Author: lmillward Date: Wed Aug 9 18:43:06 2006 New Revision: 116043 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116043 Log: 2006-08-09 Lee Millward <[EMAIL PROTECTED]> PR c++/28637 * pt.c (coerce_template_parms): Copy across the invalid template arguments to the new template inner arguments. (retrieve_specialization): Robustify. * g++.dg/template/void3.C: New test. PR c++/28638 * pt.c (coerce_template_template_parms): Robustify. * g++.dg/template/void4.C: New test. PR c++/28639 * error.c (dump_template_parms): Robustify. PR c++/28640 * pt.c (redeclare_class_template): Robustify * g++.dg/template/void5.C: New test. PR c++/28641 * pt.c (type_unification_real): Robustify. Added: trunk/gcc/testsuite/g++.dg/template/void3.C trunk/gcc/testsuite/g++.dg/template/void4.C trunk/gcc/testsuite/g++.dg/template/void5.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/error.c trunk/gcc/cp/pt.c trunk/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28637
[Bug c++/28639] [4.1/4.2 regression] ICE trying to print error on invalid template parameter
--- Comment #1 from lmillward at gcc dot gnu dot org 2006-08-09 18:43 --- Subject: Bug 28639 Author: lmillward Date: Wed Aug 9 18:43:06 2006 New Revision: 116043 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116043 Log: 2006-08-09 Lee Millward <[EMAIL PROTECTED]> PR c++/28637 * pt.c (coerce_template_parms): Copy across the invalid template arguments to the new template inner arguments. (retrieve_specialization): Robustify. * g++.dg/template/void3.C: New test. PR c++/28638 * pt.c (coerce_template_template_parms): Robustify. * g++.dg/template/void4.C: New test. PR c++/28639 * error.c (dump_template_parms): Robustify. PR c++/28640 * pt.c (redeclare_class_template): Robustify * g++.dg/template/void5.C: New test. PR c++/28641 * pt.c (type_unification_real): Robustify. Added: trunk/gcc/testsuite/g++.dg/template/void3.C trunk/gcc/testsuite/g++.dg/template/void4.C trunk/gcc/testsuite/g++.dg/template/void5.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/error.c trunk/gcc/cp/pt.c trunk/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28639
[Bug c++/28641] [4.1/4.2 regression] ICE calling template function with invalid template parameter
--- Comment #1 from lmillward at gcc dot gnu dot org 2006-08-09 18:43 --- Subject: Bug 28641 Author: lmillward Date: Wed Aug 9 18:43:06 2006 New Revision: 116043 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116043 Log: 2006-08-09 Lee Millward <[EMAIL PROTECTED]> PR c++/28637 * pt.c (coerce_template_parms): Copy across the invalid template arguments to the new template inner arguments. (retrieve_specialization): Robustify. * g++.dg/template/void3.C: New test. PR c++/28638 * pt.c (coerce_template_template_parms): Robustify. * g++.dg/template/void4.C: New test. PR c++/28639 * error.c (dump_template_parms): Robustify. PR c++/28640 * pt.c (redeclare_class_template): Robustify * g++.dg/template/void5.C: New test. PR c++/28641 * pt.c (type_unification_real): Robustify. Added: trunk/gcc/testsuite/g++.dg/template/void3.C trunk/gcc/testsuite/g++.dg/template/void4.C trunk/gcc/testsuite/g++.dg/template/void5.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/error.c trunk/gcc/cp/pt.c trunk/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28641
[Bug c++/28638] [4.1/4.2 regression] ICE on invalid template parameter
--- Comment #1 from lmillward at gcc dot gnu dot org 2006-08-09 18:43 --- Subject: Bug 28638 Author: lmillward Date: Wed Aug 9 18:43:06 2006 New Revision: 116043 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116043 Log: 2006-08-09 Lee Millward <[EMAIL PROTECTED]> PR c++/28637 * pt.c (coerce_template_parms): Copy across the invalid template arguments to the new template inner arguments. (retrieve_specialization): Robustify. * g++.dg/template/void3.C: New test. PR c++/28638 * pt.c (coerce_template_template_parms): Robustify. * g++.dg/template/void4.C: New test. PR c++/28639 * error.c (dump_template_parms): Robustify. PR c++/28640 * pt.c (redeclare_class_template): Robustify * g++.dg/template/void5.C: New test. PR c++/28641 * pt.c (type_unification_real): Robustify. Added: trunk/gcc/testsuite/g++.dg/template/void3.C trunk/gcc/testsuite/g++.dg/template/void4.C trunk/gcc/testsuite/g++.dg/template/void5.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/error.c trunk/gcc/cp/pt.c trunk/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28638
[Bug c++/28640] [4.1/4.2 regression] ICE redeclaring template with invalid parameter
--- Comment #1 from lmillward at gcc dot gnu dot org 2006-08-09 18:43 --- Subject: Bug 28640 Author: lmillward Date: Wed Aug 9 18:43:06 2006 New Revision: 116043 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116043 Log: 2006-08-09 Lee Millward <[EMAIL PROTECTED]> PR c++/28637 * pt.c (coerce_template_parms): Copy across the invalid template arguments to the new template inner arguments. (retrieve_specialization): Robustify. * g++.dg/template/void3.C: New test. PR c++/28638 * pt.c (coerce_template_template_parms): Robustify. * g++.dg/template/void4.C: New test. PR c++/28639 * error.c (dump_template_parms): Robustify. PR c++/28640 * pt.c (redeclare_class_template): Robustify * g++.dg/template/void5.C: New test. PR c++/28641 * pt.c (type_unification_real): Robustify. Added: trunk/gcc/testsuite/g++.dg/template/void3.C trunk/gcc/testsuite/g++.dg/template/void4.C trunk/gcc/testsuite/g++.dg/template/void5.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/error.c trunk/gcc/cp/pt.c trunk/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28640
[Bug c++/28640] [4.1 regression] ICE redeclaring template with invalid parameter
--- Comment #2 from lmillward at gcc dot gnu dot org 2006-08-09 18:44 --- Fixed on mainline. Will be fixed on 4.1 branch when the patch for PR 27668 is reverted. -- lmillward at gcc dot gnu dot org changed: What|Removed |Added Summary|[4.1/4.2 regression] ICE|[4.1 regression] ICE |redeclaring template with |redeclaring template with |invalid parameter |invalid parameter http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28640
[Bug c++/28638] [4.1 regression] ICE on invalid template parameter
--- Comment #2 from lmillward at gcc dot gnu dot org 2006-08-09 18:45 --- Fixed on mainline. -- lmillward at gcc dot gnu dot org changed: What|Removed |Added Summary|[4.1/4.2 regression] ICE on |[4.1 regression] ICE on |invalid template parameter |invalid template parameter http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28638
[Bug c++/28637] [4.1 regression] ICE on invalid template parameter
--- Comment #3 from lmillward at gcc dot gnu dot org 2006-08-09 18:45 --- Fixed on mainline. -- lmillward at gcc dot gnu dot org changed: What|Removed |Added Summary|[4.1/4.2 regression] ICE on |[4.1 regression] ICE on |invalid template parameter |invalid template parameter http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28637
[Bug c++/28639] [4.1/4.2 regression] ICE trying to print error on invalid template parameter
--- Comment #2 from lmillward at gcc dot gnu dot org 2006-08-09 18:47 --- Partially fixed on mainline, the testcase now ICE's in the same place as PR 24791. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28639
[Bug c++/28641] [4.1/4.2 regression] ICE calling template function with invalid template parameter
--- Comment #2 from lmillward at gcc dot gnu dot org 2006-08-09 18:47 --- Partially fixed on mainline, the testcase now ICE's in the same place as PR 24791. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28641
[Bug c++/28637] [4.1 regression] ICE on invalid template parameter
--- Comment #4 from lmillward at gcc dot gnu dot org 2006-08-10 19:19 --- Subject: Bug 28637 Author: lmillward Date: Thu Aug 10 19:18:37 2006 New Revision: 116068 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116068 Log: PR c++/28594 PR c++/28637 PR c++/28638 PR c++/28639 PR c++/28640 PR c++/28641 Revert: 2006-07-28 Lee Millward <[EMAIL PROTECTED]> PR c++/27668 PR c++/27962 * pt.c (process_template_parm) Store invalid template parameters as error_mark_node in the paramater list. (push_inline_template_parms_recursive): Handle invalid template parameters. (comp_template_parms): Likewise. (check_default_tmpl_args): Likewise. (coerce_template_template_parms): Likewise. (coerce_template_parms): Likewise. (mangle_class_name_for_template): Likewise. (tsubst_template_parms): Likewise. * error.c (dump_template_argument_list): Likewise. * g++.dg/template/crash54.C: New test. * g++.dg/template/nontype16.C: New test. * g++.dg/template/nontype5.C: Adjust error markers Removed: branches/gcc-4_1-branch/gcc/testsuite/g++.dg/template/crash54.C branches/gcc-4_1-branch/gcc/testsuite/g++.dg/template/nontype16.C Modified: branches/gcc-4_1-branch/gcc/cp/ChangeLog branches/gcc-4_1-branch/gcc/cp/error.c branches/gcc-4_1-branch/gcc/cp/pt.c branches/gcc-4_1-branch/gcc/testsuite/ChangeLog branches/gcc-4_1-branch/gcc/testsuite/g++.dg/template/nontype5.C -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28637
[Bug c++/28594] [4.1/4.2 regression] ICE with invalid template parameter
--- Comment #3 from lmillward at gcc dot gnu dot org 2006-08-10 19:19 --- Subject: Bug 28594 Author: lmillward Date: Thu Aug 10 19:18:37 2006 New Revision: 116068 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116068 Log: PR c++/28594 PR c++/28637 PR c++/28638 PR c++/28639 PR c++/28640 PR c++/28641 Revert: 2006-07-28 Lee Millward <[EMAIL PROTECTED]> PR c++/27668 PR c++/27962 * pt.c (process_template_parm) Store invalid template parameters as error_mark_node in the paramater list. (push_inline_template_parms_recursive): Handle invalid template parameters. (comp_template_parms): Likewise. (check_default_tmpl_args): Likewise. (coerce_template_template_parms): Likewise. (coerce_template_parms): Likewise. (mangle_class_name_for_template): Likewise. (tsubst_template_parms): Likewise. * error.c (dump_template_argument_list): Likewise. * g++.dg/template/crash54.C: New test. * g++.dg/template/nontype16.C: New test. * g++.dg/template/nontype5.C: Adjust error markers Removed: branches/gcc-4_1-branch/gcc/testsuite/g++.dg/template/crash54.C branches/gcc-4_1-branch/gcc/testsuite/g++.dg/template/nontype16.C Modified: branches/gcc-4_1-branch/gcc/cp/ChangeLog branches/gcc-4_1-branch/gcc/cp/error.c branches/gcc-4_1-branch/gcc/cp/pt.c branches/gcc-4_1-branch/gcc/testsuite/ChangeLog branches/gcc-4_1-branch/gcc/testsuite/g++.dg/template/nontype5.C -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28594
[Bug c++/28638] [4.1 regression] ICE on invalid template parameter
--- Comment #3 from lmillward at gcc dot gnu dot org 2006-08-10 19:19 --- Subject: Bug 28638 Author: lmillward Date: Thu Aug 10 19:18:37 2006 New Revision: 116068 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116068 Log: PR c++/28594 PR c++/28637 PR c++/28638 PR c++/28639 PR c++/28640 PR c++/28641 Revert: 2006-07-28 Lee Millward <[EMAIL PROTECTED]> PR c++/27668 PR c++/27962 * pt.c (process_template_parm) Store invalid template parameters as error_mark_node in the paramater list. (push_inline_template_parms_recursive): Handle invalid template parameters. (comp_template_parms): Likewise. (check_default_tmpl_args): Likewise. (coerce_template_template_parms): Likewise. (coerce_template_parms): Likewise. (mangle_class_name_for_template): Likewise. (tsubst_template_parms): Likewise. * error.c (dump_template_argument_list): Likewise. * g++.dg/template/crash54.C: New test. * g++.dg/template/nontype16.C: New test. * g++.dg/template/nontype5.C: Adjust error markers Removed: branches/gcc-4_1-branch/gcc/testsuite/g++.dg/template/crash54.C branches/gcc-4_1-branch/gcc/testsuite/g++.dg/template/nontype16.C Modified: branches/gcc-4_1-branch/gcc/cp/ChangeLog branches/gcc-4_1-branch/gcc/cp/error.c branches/gcc-4_1-branch/gcc/cp/pt.c branches/gcc-4_1-branch/gcc/testsuite/ChangeLog branches/gcc-4_1-branch/gcc/testsuite/g++.dg/template/nontype5.C -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28638
[Bug c++/27962] [4.1 regression] ICE with invalid template parameter in specialization
--- Comment #6 from lmillward at gcc dot gnu dot org 2006-08-10 19:19 --- Subject: Bug 27962 Author: lmillward Date: Thu Aug 10 19:18:37 2006 New Revision: 116068 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116068 Log: PR c++/28594 PR c++/28637 PR c++/28638 PR c++/28639 PR c++/28640 PR c++/28641 Revert: 2006-07-28 Lee Millward <[EMAIL PROTECTED]> PR c++/27668 PR c++/27962 * pt.c (process_template_parm) Store invalid template parameters as error_mark_node in the paramater list. (push_inline_template_parms_recursive): Handle invalid template parameters. (comp_template_parms): Likewise. (check_default_tmpl_args): Likewise. (coerce_template_template_parms): Likewise. (coerce_template_parms): Likewise. (mangle_class_name_for_template): Likewise. (tsubst_template_parms): Likewise. * error.c (dump_template_argument_list): Likewise. * g++.dg/template/crash54.C: New test. * g++.dg/template/nontype16.C: New test. * g++.dg/template/nontype5.C: Adjust error markers Removed: branches/gcc-4_1-branch/gcc/testsuite/g++.dg/template/crash54.C branches/gcc-4_1-branch/gcc/testsuite/g++.dg/template/nontype16.C Modified: branches/gcc-4_1-branch/gcc/cp/ChangeLog branches/gcc-4_1-branch/gcc/cp/error.c branches/gcc-4_1-branch/gcc/cp/pt.c branches/gcc-4_1-branch/gcc/testsuite/ChangeLog branches/gcc-4_1-branch/gcc/testsuite/g++.dg/template/nontype5.C -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27962
[Bug c++/27668] [4.0 regression] ICE with invalid template parameter
--- Comment #8 from lmillward at gcc dot gnu dot org 2006-08-10 19:19 --- Subject: Bug 27668 Author: lmillward Date: Thu Aug 10 19:18:37 2006 New Revision: 116068 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116068 Log: PR c++/28594 PR c++/28637 PR c++/28638 PR c++/28639 PR c++/28640 PR c++/28641 Revert: 2006-07-28 Lee Millward <[EMAIL PROTECTED]> PR c++/27668 PR c++/27962 * pt.c (process_template_parm) Store invalid template parameters as error_mark_node in the paramater list. (push_inline_template_parms_recursive): Handle invalid template parameters. (comp_template_parms): Likewise. (check_default_tmpl_args): Likewise. (coerce_template_template_parms): Likewise. (coerce_template_parms): Likewise. (mangle_class_name_for_template): Likewise. (tsubst_template_parms): Likewise. * error.c (dump_template_argument_list): Likewise. * g++.dg/template/crash54.C: New test. * g++.dg/template/nontype16.C: New test. * g++.dg/template/nontype5.C: Adjust error markers Removed: branches/gcc-4_1-branch/gcc/testsuite/g++.dg/template/crash54.C branches/gcc-4_1-branch/gcc/testsuite/g++.dg/template/nontype16.C Modified: branches/gcc-4_1-branch/gcc/cp/ChangeLog branches/gcc-4_1-branch/gcc/cp/error.c branches/gcc-4_1-branch/gcc/cp/pt.c branches/gcc-4_1-branch/gcc/testsuite/ChangeLog branches/gcc-4_1-branch/gcc/testsuite/g++.dg/template/nontype5.C -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27668
[Bug c++/28640] [4.1 regression] ICE redeclaring template with invalid parameter
--- Comment #3 from lmillward at gcc dot gnu dot org 2006-08-10 19:19 --- Subject: Bug 28640 Author: lmillward Date: Thu Aug 10 19:18:37 2006 New Revision: 116068 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116068 Log: PR c++/28594 PR c++/28637 PR c++/28638 PR c++/28639 PR c++/28640 PR c++/28641 Revert: 2006-07-28 Lee Millward <[EMAIL PROTECTED]> PR c++/27668 PR c++/27962 * pt.c (process_template_parm) Store invalid template parameters as error_mark_node in the paramater list. (push_inline_template_parms_recursive): Handle invalid template parameters. (comp_template_parms): Likewise. (check_default_tmpl_args): Likewise. (coerce_template_template_parms): Likewise. (coerce_template_parms): Likewise. (mangle_class_name_for_template): Likewise. (tsubst_template_parms): Likewise. * error.c (dump_template_argument_list): Likewise. * g++.dg/template/crash54.C: New test. * g++.dg/template/nontype16.C: New test. * g++.dg/template/nontype5.C: Adjust error markers Removed: branches/gcc-4_1-branch/gcc/testsuite/g++.dg/template/crash54.C branches/gcc-4_1-branch/gcc/testsuite/g++.dg/template/nontype16.C Modified: branches/gcc-4_1-branch/gcc/cp/ChangeLog branches/gcc-4_1-branch/gcc/cp/error.c branches/gcc-4_1-branch/gcc/cp/pt.c branches/gcc-4_1-branch/gcc/testsuite/ChangeLog branches/gcc-4_1-branch/gcc/testsuite/g++.dg/template/nontype5.C -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28640
[Bug c++/28639] [4.1/4.2 regression] ICE trying to print error on invalid template parameter
--- Comment #3 from lmillward at gcc dot gnu dot org 2006-08-10 19:19 --- Subject: Bug 28639 Author: lmillward Date: Thu Aug 10 19:18:37 2006 New Revision: 116068 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116068 Log: PR c++/28594 PR c++/28637 PR c++/28638 PR c++/28639 PR c++/28640 PR c++/28641 Revert: 2006-07-28 Lee Millward <[EMAIL PROTECTED]> PR c++/27668 PR c++/27962 * pt.c (process_template_parm) Store invalid template parameters as error_mark_node in the paramater list. (push_inline_template_parms_recursive): Handle invalid template parameters. (comp_template_parms): Likewise. (check_default_tmpl_args): Likewise. (coerce_template_template_parms): Likewise. (coerce_template_parms): Likewise. (mangle_class_name_for_template): Likewise. (tsubst_template_parms): Likewise. * error.c (dump_template_argument_list): Likewise. * g++.dg/template/crash54.C: New test. * g++.dg/template/nontype16.C: New test. * g++.dg/template/nontype5.C: Adjust error markers Removed: branches/gcc-4_1-branch/gcc/testsuite/g++.dg/template/crash54.C branches/gcc-4_1-branch/gcc/testsuite/g++.dg/template/nontype16.C Modified: branches/gcc-4_1-branch/gcc/cp/ChangeLog branches/gcc-4_1-branch/gcc/cp/error.c branches/gcc-4_1-branch/gcc/cp/pt.c branches/gcc-4_1-branch/gcc/testsuite/ChangeLog branches/gcc-4_1-branch/gcc/testsuite/g++.dg/template/nontype5.C -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28639
[Bug c++/28641] [4.1/4.2 regression] ICE calling template function with invalid template parameter
--- Comment #3 from lmillward at gcc dot gnu dot org 2006-08-10 19:19 --- Subject: Bug 28641 Author: lmillward Date: Thu Aug 10 19:18:37 2006 New Revision: 116068 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116068 Log: PR c++/28594 PR c++/28637 PR c++/28638 PR c++/28639 PR c++/28640 PR c++/28641 Revert: 2006-07-28 Lee Millward <[EMAIL PROTECTED]> PR c++/27668 PR c++/27962 * pt.c (process_template_parm) Store invalid template parameters as error_mark_node in the paramater list. (push_inline_template_parms_recursive): Handle invalid template parameters. (comp_template_parms): Likewise. (check_default_tmpl_args): Likewise. (coerce_template_template_parms): Likewise. (coerce_template_parms): Likewise. (mangle_class_name_for_template): Likewise. (tsubst_template_parms): Likewise. * error.c (dump_template_argument_list): Likewise. * g++.dg/template/crash54.C: New test. * g++.dg/template/nontype16.C: New test. * g++.dg/template/nontype5.C: Adjust error markers Removed: branches/gcc-4_1-branch/gcc/testsuite/g++.dg/template/crash54.C branches/gcc-4_1-branch/gcc/testsuite/g++.dg/template/nontype16.C Modified: branches/gcc-4_1-branch/gcc/cp/ChangeLog branches/gcc-4_1-branch/gcc/cp/error.c branches/gcc-4_1-branch/gcc/cp/pt.c branches/gcc-4_1-branch/gcc/testsuite/ChangeLog branches/gcc-4_1-branch/gcc/testsuite/g++.dg/template/nontype5.C -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28641
[Bug c++/27962] [4.1 regression] ICE with invalid template parameter in specialization
--- Comment #7 from lmillward at gcc dot gnu dot org 2006-08-10 19:20 --- Reopening bug and marking it as depending on PR 27668 as the patch for that bug nas now been reverted on the 4.1 branch. -- lmillward at gcc dot gnu dot org changed: What|Removed |Added BugsThisDependsOn||27668 Status|RESOLVED|REOPENED Resolution|FIXED | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27962
[Bug c++/27668] [4.0/4.1 regression] ICE with invalid template parameter
--- Comment #9 from lmillward at gcc dot gnu dot org 2006-08-10 19:21 --- The patch for this bug has been reverted on the 4.1 branch so re-adding the 4.1 regression marker. -- lmillward at gcc dot gnu dot org changed: What|Removed |Added Summary|[4.0 regression] ICE with |[4.0/4.1 regression] ICE |invalid template parameter |with invalid template ||parameter http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27668
[Bug c++/28594] [4.2 regression] ICE with invalid template parameter
--- Comment #4 from lmillward at gcc dot gnu dot org 2006-08-10 19:22 --- Fixed on the 4.1 branch by the reversal of the patch for PR 27668. -- lmillward at gcc dot gnu dot org changed: What|Removed |Added Summary|[4.1/4.2 regression] ICE|[4.2 regression] ICE with |with invalid template |invalid template parameter |parameter | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28594
[Bug c++/28637] [4.1 regression] ICE on invalid template parameter
--- Comment #5 from lmillward at gcc dot gnu dot org 2006-08-10 19:22 --- Fixed on the 4.1 branch by the reversal of the patch for PR 27668. -- lmillward at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution||FIXED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28637
[Bug c++/28638] [4.1 regression] ICE on invalid template parameter
--- Comment #4 from lmillward at gcc dot gnu dot org 2006-08-10 19:23 --- Fixed on the 4.1 branch by the reversal of the patch for PR 27668. -- lmillward at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution||FIXED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28638
[Bug c++/28639] [4.2 regression] ICE trying to print error on invalid template parameter
--- Comment #4 from lmillward at gcc dot gnu dot org 2006-08-10 19:24 --- Fixed on the 4.1 branch by the reversal of the patch for PR 27668 so removing the 4.1 regression marker. -- lmillward at gcc dot gnu dot org changed: What|Removed |Added Summary|[4.1/4.2 regression] ICE|[4.2 regression] ICE trying |trying to print error on|to print error on invalid |invalid template parameter |template parameter http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28639
[Bug c++/28640] [4.1 regression] ICE redeclaring template with invalid parameter
--- Comment #4 from lmillward at gcc dot gnu dot org 2006-08-10 19:24 --- Fixed on the 4.1 branch by the reversal of the patch for PR 27668. -- lmillward at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution||FIXED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28640
[Bug c++/28641] [4.2 regression] ICE calling template function with invalid template parameter
--- Comment #4 from lmillward at gcc dot gnu dot org 2006-08-10 19:25 --- Fixed on the 4.1 branch by the reversal of the patch for PR 27668 so removing the 4.1 regression marker. -- lmillward at gcc dot gnu dot org changed: What|Removed |Added Summary|[4.1/4.2 regression] ICE|[4.2 regression] ICE calling |calling template function |template function with |with invalid template |invalid template parameter |parameter | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28641
[Bug c++/28594] [4.2 regression] ICE with invalid template parameter
--- Comment #5 from lmillward at gcc dot gnu dot org 2006-08-15 17:21 --- Subject: Bug 28594 Author: lmillward Date: Tue Aug 15 17:21:09 2006 New Revision: 116160 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116160 Log: PR c++/28594 * pt.c (process_template_parm): Robustify. * g++.dg/template/void6.C: New test. Added: trunk/gcc/testsuite/g++.dg/template/void6.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/pt.c trunk/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28594
[Bug c++/28594] [4.2 regression] ICE with invalid template parameter
--- Comment #6 from lmillward at gcc dot gnu dot org 2006-08-15 17:22 --- Fixed on mainline. -- lmillward at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution||FIXED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28594
[Bug c++/28736] [4.2 regression] ICE with friend of invalid template class
--- Comment #1 from lmillward at gcc dot gnu dot org 2006-08-15 20:44 --- Confirmed. I'll take a look at it. -- lmillward at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |lmillward at gcc dot gnu dot |dot org |org Status|UNCONFIRMED |ASSIGNED Ever Confirmed|0 |1 Last reconfirmed|-00-00 00:00:00 |2006-08-15 20:44:04 date|| http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28736
[Bug c++/28737] [4.2 regression] ICE using invalid template class in specialization
--- Comment #1 from lmillward at gcc dot gnu dot org 2006-08-15 20:44 --- Confirmed. I'll take a look at it. -- lmillward at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |lmillward at gcc dot gnu dot |dot org |org Status|UNCONFIRMED |ASSIGNED Ever Confirmed|0 |1 Last reconfirmed|-00-00 00:00:00 |2006-08-15 20:44:21 date|| http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28737
[Bug c++/28738] [4.2 regression] ICE specializing invalid template class
--- Comment #1 from lmillward at gcc dot gnu dot org 2006-08-15 20:44 --- Confirmed. I'll take a look at it. -- lmillward at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |lmillward at gcc dot gnu dot |dot org |org Status|UNCONFIRMED |ASSIGNED Ever Confirmed|0 |1 Last reconfirmed|-00-00 00:00:00 |2006-08-15 20:44:34 date|| http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28738
[Bug c++/26269] [4.0/4.1/4.2 regression] Declaring a variable too late yields bogus error message
-- lmillward at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |lmillward at gcc dot gnu dot |dot org |org Status|NEW |ASSIGNED Last reconfirmed|2006-07-05 09:54:56 |2006-08-19 19:09:56 date|| http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26269
[Bug c/27953] ICE with invalid function definitions
-- lmillward at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |lmillward at gcc dot gnu dot |dot org |org Status|UNCONFIRMED |ASSIGNED Ever Confirmed|0 |1 Last reconfirmed|-00-00 00:00:00 |2006-08-19 19:10:20 date|| http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27953
[Bug c++/28505] [4.0/4.1/4.2 regression] ICE with invalid constructors
-- lmillward at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |lmillward at gcc dot gnu dot |dot org |org Status|UNCONFIRMED |ASSIGNED Ever Confirmed|0 |1 Last reconfirmed|-00-00 00:00:00 |2006-08-19 19:10:42 date|| http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28505
[Bug c++/28741] [4.2 regression] ICE with static member in invalid template class
-- lmillward at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |lmillward at gcc dot gnu dot |dot org |org Status|NEW |ASSIGNED Last reconfirmed|2006-08-18 04:46:37 |2006-08-19 19:11:01 date|| http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28741
[Bug c++/26269] [4.0/4.1/4.2 regression] Declaring a variable too late yields bogus error message
--- Comment #6 from lmillward at gcc dot gnu dot org 2006-08-21 17:27 --- Subject: Bug 26269 Author: lmillward Date: Mon Aug 21 17:27:48 2006 New Revision: 116301 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116301 Log: PR c++/26269 * decl.c (duplicate_decls): Return early if either newdecl or olddecl is error_mark_node. * g++.dg/other/error14.C: New test. Added: trunk/gcc/testsuite/g++.dg/other/error14.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/decl.c trunk/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26269
[Bug c++/26269] [4.0/4.1 regression] Declaring a variable too late yields bogus error message
--- Comment #7 from lmillward at gcc dot gnu dot org 2006-08-21 17:28 --- Fixed on mainline. -- lmillward at gcc dot gnu dot org changed: What|Removed |Added Summary|[4.0/4.1/4.2 regression]|[4.0/4.1 regression] |Declaring a variable too|Declaring a variable too |late yields bogus error |late yields bogus error |message |message http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26269