public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/28451] New: [4.0/4.1/4.2 regression] ICE with invalid default template parameter
@ 2006-07-21 13:28 reichelt at gcc dot gnu dot org
2006-07-21 13:28 ` [Bug c++/28451] " reichelt at gcc dot gnu dot org
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2006-07-21 13:28 UTC (permalink / raw)
To: gcc-bugs
The following invalid code snippet triggers an ICE since GCC 3.4.0:
=====================================
template<int= =0> struct A {};
template<typename> struct B
{
A<> a;
A<> b;
};
=====================================
bug.cc:1: error: expected primary-expression before '=' token
bug.cc:6: internal compiler error: Segmentation fault
Please submit a full bug report, [etc.]
--
Summary: [4.0/4.1/4.2 regression] ICE with invalid default
template parameter
Product: gcc
Version: 4.2.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=28451
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c++/28451] [4.0/4.1/4.2 regression] ICE with invalid default template parameter
2006-07-21 13:28 [Bug c++/28451] New: [4.0/4.1/4.2 regression] ICE with invalid default template parameter reichelt at gcc dot gnu dot org
@ 2006-07-21 13:28 ` reichelt at gcc dot gnu dot org
2006-09-03 6:13 ` pinskia at gcc dot gnu dot org
2007-01-13 17:08 ` [Bug c++/28451] [4.0/4.1/4.2/4.3 " reichelt at gcc dot gnu dot org
2 siblings, 0 replies; 4+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2006-07-21 13:28 UTC (permalink / raw)
To: gcc-bugs
--
reichelt at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P4
Target Milestone|--- |4.0.4
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28451
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c++/28451] [4.0/4.1/4.2 regression] ICE with invalid default template parameter
2006-07-21 13:28 [Bug c++/28451] New: [4.0/4.1/4.2 regression] ICE with invalid default template parameter reichelt at gcc dot gnu dot org
2006-07-21 13:28 ` [Bug c++/28451] " reichelt at gcc dot gnu dot org
@ 2006-09-03 6:13 ` pinskia at gcc dot gnu dot org
2007-01-13 17:08 ` [Bug c++/28451] [4.0/4.1/4.2/4.3 " reichelt at gcc dot gnu dot org
2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-09-03 6:13 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from pinskia at gcc dot gnu dot org 2006-09-03 06:13 -------
Confirmed.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2006-09-03 06:13:50
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28451
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c++/28451] [4.0/4.1/4.2/4.3 regression] ICE with invalid default template parameter
2006-07-21 13:28 [Bug c++/28451] New: [4.0/4.1/4.2 regression] ICE with invalid default template parameter reichelt at gcc dot gnu dot org
2006-07-21 13:28 ` [Bug c++/28451] " reichelt at gcc dot gnu dot org
2006-09-03 6:13 ` pinskia at gcc dot gnu dot org
@ 2007-01-13 17:08 ` reichelt at gcc dot gnu dot org
2 siblings, 0 replies; 4+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2007-01-13 17:08 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from reichelt at gcc dot gnu dot org 2007-01-13 17:08 -------
This seems to be a duplicate of PR29573, as it was fixed by the same patch.
*** This bug has been marked as a duplicate of 29573 ***
--
reichelt at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |DUPLICATE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28451
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2007-01-13 17:08 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-07-21 13:28 [Bug c++/28451] New: [4.0/4.1/4.2 regression] ICE with invalid default template parameter reichelt at gcc dot gnu dot org
2006-07-21 13:28 ` [Bug c++/28451] " reichelt at gcc dot gnu dot org
2006-09-03 6:13 ` pinskia at gcc dot gnu dot org
2007-01-13 17:08 ` [Bug c++/28451] [4.0/4.1/4.2/4.3 " reichelt at gcc dot gnu dot org
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).