public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/8906: [3.2/3.3 regression] segmentation fault when parsing nested-class definition
@ 2002-12-12 17:46 Janis Johnson
0 siblings, 0 replies; 2+ messages in thread
From: Janis Johnson @ 2002-12-12 17:46 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
The following reply was made to PR c++/8906; it has been noted by GNATS.
From: Janis Johnson <janis187@us.ibm.com>
To: gcc-gnats@gcc.gnu.org, gcc-prs@gcc.gnu.org, wirawan0@softhome.net,
gcc-bugs@gcc.gnu.org, nobody@gcc.gnu.org, jason@redhat.com
Cc:
Subject: Re: c++/8906: [3.2/3.3 regression] segmentation fault when parsing
nested-class definition
Date: Thu, 12 Dec 2002 17:40:03 -0800
The mainline regression reported in PR c++/8906 showed up
starting with this patch, which might merely uncover an
existing problem:
>2002-07-10 Jason Merrill <jason@redhat.com>
>
> PR c++/6255
> * decl.c (lookup_name_real): Build a new TYPENAME_TYPE rather
than
> modifying the old one.
I used the small test case that Wolfgang provided. The ICE
occurs in the mainline, the 3.2 branch, 3.2.1, 3.2, and
3.1.1, but not 3.1.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=8906
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: c++/8906: [3.2/3.3 regression] segmentation fault when parsing nested-class definition
@ 2002-12-11 17:18 bangerth
0 siblings, 0 replies; 2+ messages in thread
From: bangerth @ 2002-12-11 17:18 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, nobody, wirawan0
Old Synopsis: G++ 3.2 raises segmentation fault when parsing nested-class definition
New Synopsis: [3.2/3.3 regression] segmentation fault when parsing nested-class definition
State-Changed-From-To: open->analyzed
State-Changed-By: bangerth
State-Changed-When: Wed Dec 11 17:18:33 2002
State-Changed-Why:
Confirmed. It used to work until 3.0, but fails with 3.2
and 3.3. Here's the code:
---------------------
template <class T> class CO {
class CI1 {
class CI2;
};
};
template <class T>
class CO<T>::CI1::CI2 {};
---------------------
Using my GNU-compiler-collection, I see that this regression
has been introduced in the first half of July:
../bin/gcc-2002-06-15 +
../bin/gcc-2002-07-01 +
../bin/gcc-2002-07-15 X
../bin/gcc-2002-08-01 X
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=8906
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-12-13 1:46 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-12-12 17:46 c++/8906: [3.2/3.3 regression] segmentation fault when parsing nested-class definition Janis Johnson
-- strict thread matches above, loose matches on Subject: below --
2002-12-11 17:18 bangerth
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).