[Bug c++/37087] Segfault on compiling template defined in wrong namespace.
--- Comment #5 from paolo dot carlini at oracle dot com 2008-08-13 16:29 --- Let's close it, as you say it's invalid code, not a regression. -- paolo dot carlini at oracle dot com changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37087
[Bug c++/37087] Segfault on compiling template defined in wrong namespace.
--- Comment #4 from bangerth at dealii dot org 2008-08-13 16:24 --- This also failed with 4.2.1, and the reporter's compiler was 4.0. Paolo, do you want to apply your patch to 4.3.x as well? If not, I vote for closing the PR: It's not a recent regression, it's an ICE on invalid, and unless you apply the patch there is unlikely going to be any further activity. W. -- bangerth at dealii dot org changed: What|Removed |Added CC||bangerth at dealii dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37087
[Bug c++/37087] Segfault on compiling template defined in wrong namespace.
--- Comment #3 from paolo dot carlini at oracle dot com 2008-08-12 19:45 --- Fixed for 4.4.0. -- paolo dot carlini at oracle dot com changed: What|Removed |Added AssignedTo|paolo dot carlini at oracle |unassigned at gcc dot gnu |dot com |dot org Status|ASSIGNED|NEW Target Milestone|--- |4.4.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37087
[Bug c++/37087] Segfault on compiling template defined in wrong namespace.
--- Comment #2 from paolo at gcc dot gnu dot org 2008-08-12 19:39 --- Subject: Bug 37087 Author: paolo Date: Tue Aug 12 19:38:02 2008 New Revision: 139034 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=139034 Log: /cp 2008-08-12 Paolo Carlini <[EMAIL PROTECTED]> PR c++/37087 * parser.c (cp_parser_class_head): Early return error_mark_node in case of global qualification of class name or qualified name that does not name a class. /testsuite 2008-08-12 Paolo Carlini <[EMAIL PROTECTED]> PR c++/37087 * g++.dg/template/crash80.C: New. * g++.old-deja/g++.other/decl5.C: Adjust. Added: trunk/gcc/testsuite/g++.dg/template/crash80.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/parser.c trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/g++.old-deja/g++.other/decl5.C -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37087
[Bug c++/37087] Segfault on compiling template defined in wrong namespace.
-- paolo dot carlini at oracle dot com changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |paolo dot carlini at oracle |dot org |dot com Status|UNCONFIRMED |ASSIGNED Ever Confirmed|0 |1 Keywords||ice-on-invalid-code Known to fail||4.3.1 4.4.0 Last reconfirmed|-00-00 00:00:00 |2008-08-11 22:41:51 date|| http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37087