public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/9388: [3.4 regression] [new parser] ICE in cxx_incomplete_type_diagnostic, at cp/typeck2.c:278
@ 2003-01-22 17:58 mmitchel
  0 siblings, 0 replies; 4+ messages in thread
From: mmitchel @ 2003-01-22 17:58 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, mmitchel, rguenth

Synopsis: [3.4 regression] [new parser] ICE in cxx_incomplete_type_diagnostic, at cp/typeck2.c:278

State-Changed-From-To: analyzed->closed
State-Changed-By: mmitchel
State-Changed-When: Wed Jan 22 17:58:53 2003
State-Changed-Why:
    Fixed in GCC 3.4.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=9388


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: c++/9388: [3.4 regression] [new parser] ICE in cxx_incomplete_type_diagnostic, at cp/typeck2.c:278
@ 2003-01-21 23:35 mmitchel
  0 siblings, 0 replies; 4+ messages in thread
From: mmitchel @ 2003-01-21 23:35 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, mmitchel, nobody, rguenth

Synopsis: [3.4 regression] [new parser] ICE in cxx_incomplete_type_diagnostic, at cp/typeck2.c:278

Responsible-Changed-From-To: unassigned->mmitchel
Responsible-Changed-By: mmitchel
Responsible-Changed-When: Tue Jan 21 23:35:32 2003
Responsible-Changed-Why:
    Working on a fix.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=9388


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: c++/9388: [3.4 regression] [new parser] ICE in cxx_incomplete_type_diagnostic, at cp/typeck2.c:278
@ 2003-01-21 18:06 Volker Reichelt
  0 siblings, 0 replies; 4+ messages in thread
From: Volker Reichelt @ 2003-01-21 18:06 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

The following reply was made to PR c++/9388; it has been noted by GNATS.

From: Volker Reichelt <reichelt@igpm.rwth-aachen.de>
To: gcc-gnats@gcc.gnu.org, rguenth@tat.physik.uni-tuebingen.de,
        gcc-bugs@gcc.gnu.org
Cc:  
Subject: Re: c++/9388: [3.4 regression] [new parser] ICE in cxx_incomplete_type_diagnostic, at cp/typeck2.c:278
Date: Tue, 21 Jan 2003 20:03:47 +0100

 A shorter (IMHO legal) testcase is the following:
 
 =============================================================================
 template <typename T> struct A
 {
     typedef int X;
 };
 
 template <typename T> struct B
 {
     typename A<T>::X x;
 };
 
 template <typename T> struct C
 {
     void foo(int);
     B<A<T>*> b;
 };
 
 template <typename T> struct D
 {
     enum { e };
     void bar() { C<T*>::foo(e); }
 };
 =============================================================================
 
 It compiles fine with gcc 2.95.3 - 3.3 branch, but crashes with
 gcc 3.4-20030116. The message is:
 
 PR9388.cc: In instantiation of `B<A<T*>*>':
 PR9388.cc:14:   instantiated from `C<T*>'
 PR9388.cc:20:   instantiated from here
 PR9388.cc:8: error: `B<T>::x' has incomplete type
 PR9388.cc:8: internal compiler error: in cxx_incomplete_type_diagnostic, at 
    cp/typeck2.c:278
 
 Regards,
 Volker
 
 http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=9388
 
 


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: c++/9388: [3.4 regression] [new parser] ICE in cxx_incomplete_type_diagnostic, at cp/typeck2.c:278
@ 2003-01-21 17:32 reichelt
  0 siblings, 0 replies; 4+ messages in thread
From: reichelt @ 2003-01-21 17:32 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, nobody, rguenth

Old Synopsis: New parser bug
New Synopsis: [3.4 regression] [new parser] ICE in cxx_incomplete_type_diagnostic, at cp/typeck2.c:278

State-Changed-From-To: open->analyzed
State-Changed-By: reichelt
State-Changed-When: Tue Jan 21 17:32:32 2003
State-Changed-Why:
    Confirmed.
    
    The code compiles fine with 3.2/3.3 branch.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=9388


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-01-22 17:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-01-22 17:58 c++/9388: [3.4 regression] [new parser] ICE in cxx_incomplete_type_diagnostic, at cp/typeck2.c:278 mmitchel
  -- strict thread matches above, loose matches on Subject: below --
2003-01-21 23:35 mmitchel
2003-01-21 18:06 Volker Reichelt
2003-01-21 17:32 reichelt

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).