public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/37649] New: [4.4 regression] ICE with invalid template class
@ 2008-09-25 7:11 reichelt at gcc dot gnu dot org
2008-09-25 7:12 ` [Bug c++/37649] " reichelt at gcc dot gnu dot org
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2008-09-25 7:11 UTC (permalink / raw)
To: gcc-bugs
The following invalid code snippet triggers an ICE on mainline:
==================================
struct A
{
template<int> struct {};
};
==================================
bug.cc:3: error: template class without a name
bug.cc:3: internal compiler error: Segmentation fault
Please submit a full bug report, [etc.]
The regression was introduced between 2008-05-13 and 2008-06-21.
--
Summary: [4.4 regression] ICE with invalid template class
Product: gcc
Version: 4.4.0
Status: UNCONFIRMED
Keywords: ice-on-invalid-code, error-recovery, monitored
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: reichelt at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37649
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c++/37649] [4.4 regression] ICE with invalid template class
2008-09-25 7:11 [Bug c++/37649] New: [4.4 regression] ICE with invalid template class reichelt at gcc dot gnu dot org
@ 2008-09-25 7:12 ` reichelt at gcc dot gnu dot org
2008-09-25 10:07 ` paolo dot carlini at oracle dot com
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2008-09-25 7:12 UTC (permalink / raw)
To: gcc-bugs
--
reichelt at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |4.4.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37649
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c++/37649] [4.4 regression] ICE with invalid template class
2008-09-25 7:11 [Bug c++/37649] New: [4.4 regression] ICE with invalid template class reichelt at gcc dot gnu dot org
2008-09-25 7:12 ` [Bug c++/37649] " reichelt at gcc dot gnu dot org
@ 2008-09-25 10:07 ` paolo dot carlini at oracle dot com
2008-09-25 20:41 ` paolo at gcc dot gnu dot org
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: paolo dot carlini at oracle dot com @ 2008-09-25 10:07 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from paolo dot carlini at oracle dot com 2008-09-25 10:05 -------
Can quickly fix this.
--
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
Last reconfirmed|0000-00-00 00:00:00 |2008-09-25 10:05:39
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37649
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c++/37649] [4.4 regression] ICE with invalid template class
2008-09-25 7:11 [Bug c++/37649] New: [4.4 regression] ICE with invalid template class reichelt at gcc dot gnu dot org
2008-09-25 7:12 ` [Bug c++/37649] " reichelt at gcc dot gnu dot org
2008-09-25 10:07 ` paolo dot carlini at oracle dot com
@ 2008-09-25 20:41 ` paolo at gcc dot gnu dot org
2008-09-25 20:42 ` paolo dot carlini at oracle dot com
2008-09-25 20:42 ` paolo dot carlini at oracle dot com
4 siblings, 0 replies; 6+ messages in thread
From: paolo at gcc dot gnu dot org @ 2008-09-25 20:41 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from paolo at gcc dot gnu dot org 2008-09-25 20:39 -------
Subject: Bug 37649
Author: paolo
Date: Thu Sep 25 20:38:32 2008
New Revision: 140670
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=140670
Log:
/cp
2008-09-25 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/37649
* name-lookup.c (maybe_process_template_type_declaration): Check
return value of push_template_decl_real for error_mark_node.
/testsuite
2008-09-25 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/37649
* g++.dg/template/crash82.C: New.
Added:
trunk/gcc/testsuite/g++.dg/template/crash82.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/name-lookup.c
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37649
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c++/37649] [4.4 regression] ICE with invalid template class
2008-09-25 7:11 [Bug c++/37649] New: [4.4 regression] ICE with invalid template class reichelt at gcc dot gnu dot org
` (2 preceding siblings ...)
2008-09-25 20:41 ` paolo at gcc dot gnu dot org
@ 2008-09-25 20:42 ` paolo dot carlini at oracle dot com
2008-09-25 20:42 ` paolo dot carlini at oracle dot com
4 siblings, 0 replies; 6+ messages in thread
From: paolo dot carlini at oracle dot com @ 2008-09-25 20:42 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from paolo dot carlini at oracle dot com 2008-09-25 20:41 -------
.
--
paolo dot carlini at oracle dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37649
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c++/37649] [4.4 regression] ICE with invalid template class
2008-09-25 7:11 [Bug c++/37649] New: [4.4 regression] ICE with invalid template class reichelt at gcc dot gnu dot org
` (3 preceding siblings ...)
2008-09-25 20:42 ` paolo dot carlini at oracle dot com
@ 2008-09-25 20:42 ` paolo dot carlini at oracle dot com
4 siblings, 0 replies; 6+ messages in thread
From: paolo dot carlini at oracle dot com @ 2008-09-25 20:42 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from paolo dot carlini at oracle dot com 2008-09-25 20:41 -------
Fixed.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37649
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2008-09-25 20:42 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-09-25 7:11 [Bug c++/37649] New: [4.4 regression] ICE with invalid template class reichelt at gcc dot gnu dot org
2008-09-25 7:12 ` [Bug c++/37649] " reichelt at gcc dot gnu dot org
2008-09-25 10:07 ` paolo dot carlini at oracle dot com
2008-09-25 20:41 ` paolo at gcc dot gnu dot org
2008-09-25 20:42 ` paolo dot carlini at oracle dot com
2008-09-25 20:42 ` paolo dot carlini at oracle dot com
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).