public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/15701] New: ICE after error
@ 2004-05-28 21:35 igodard at pacbell dot net
2004-05-28 21:37 ` [Bug c++/15701] " igodard at pacbell dot net
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: igodard at pacbell dot net @ 2004-05-28 21:35 UTC (permalink / raw)
To: gcc-bugs
--
Summary: ICE after error
Product: gcc
Version: 3.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: igodard at pacbell dot net
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15701
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c++/15701] ICE after error
2004-05-28 21:35 [Bug c++/15701] New: ICE after error igodard at pacbell dot net
2004-05-28 21:37 ` [Bug c++/15701] " igodard at pacbell dot net
@ 2004-05-28 21:37 ` igodard at pacbell dot net
2004-05-28 22:36 ` [Bug c++/15701] [3.4/3.5 regression] ICE with friends and template template parameter reichelt at gcc dot gnu dot org
2 siblings, 0 replies; 4+ messages in thread
From: igodard at pacbell dot net @ 2004-05-28 21:37 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From igodard at pacbell dot net 2004-05-28 07:18 -------
Created an attachment (id=6411)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=6411&action=view)
Compiler output (-v -save-temps)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15701
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c++/15701] ICE after error
2004-05-28 21:35 [Bug c++/15701] New: ICE after error igodard at pacbell dot net
@ 2004-05-28 21:37 ` igodard at pacbell dot net
2004-05-28 21:37 ` igodard at pacbell dot net
2004-05-28 22:36 ` [Bug c++/15701] [3.4/3.5 regression] ICE with friends and template template parameter reichelt at gcc dot gnu dot org
2 siblings, 0 replies; 4+ messages in thread
From: igodard at pacbell dot net @ 2004-05-28 21:37 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From igodard at pacbell dot net 2004-05-28 07:19 -------
Created an attachment (id=6412)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=6412&action=view)
Source code (-save-temps)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15701
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c++/15701] [3.4/3.5 regression] ICE with friends and template template parameter
2004-05-28 21:35 [Bug c++/15701] New: ICE after error igodard at pacbell dot net
2004-05-28 21:37 ` [Bug c++/15701] " igodard at pacbell dot net
2004-05-28 21:37 ` igodard at pacbell dot net
@ 2004-05-28 22:36 ` reichelt at gcc dot gnu dot org
2 siblings, 0 replies; 4+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2004-05-28 22:36 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From reichelt at gcc dot gnu dot org 2004-05-28 12:08 -------
Confirmed.
Here's a reduced testcase that segfaults since gcc 3.4.0:
===============================================================
template<template<int> class T> struct A : T<0>
{
void foo();
template<template<int> class U> friend void A<U>::foo();
};
template<int> struct B {};
A<B> a;
===============================================================
The problem seems to be related to the template template parameter.
If I make T, U, B regular classes, the code compiles.
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |reichelt at gcc dot gnu dot
| |org
Severity|normal |critical
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Keywords| |ice-on-valid-code, monitored
Known to fail| |3.4.0 3.5.0
Known to work| |3.3.3
Last reconfirmed|0000-00-00 00:00:00 |2004-05-28 12:08:13
date| |
Summary|ICE after error |[3.4/3.5 regression] ICE
| |with friends and template
| |template parameter
Target Milestone|--- |3.4.1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15701
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2004-05-28 12:08 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-05-28 21:35 [Bug c++/15701] New: ICE after error igodard at pacbell dot net
2004-05-28 21:37 ` [Bug c++/15701] " igodard at pacbell dot net
2004-05-28 21:37 ` igodard at pacbell dot net
2004-05-28 22:36 ` [Bug c++/15701] [3.4/3.5 regression] ICE with friends and template template parameter 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).