public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* c++/9528: [3.4 regression] ICE with illegal using-declaration
@ 2003-01-31 18:06 reichelt
  0 siblings, 0 replies; only message in thread
From: reichelt @ 2003-01-31 18:06 UTC (permalink / raw)
  To: gcc-gnats; +Cc: numerical.simulation


>Number:         9528
>Category:       c++
>Synopsis:       [3.4 regression] ICE with illegal using-declaration
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          ice-on-illegal-code
>Submitter-Id:   net
>Arrival-Date:   Fri Jan 31 18:06:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     reichelt@igpm.rwth-aachen.de
>Release:        gcc 3.4-20040127
>Organization:
>Environment:
i686-pc-linux-gnu
>Description:
The following code causes an ICE when compiled with the new parser:

---------------------snip here-------------------
template <typename T> struct A
{
    void foo() { using T::X; }
};
---------------------snip here-------------------

The error message is:

bug.cc: In member function `void A<T>::foo()':
bug.cc:3: internal compiler error: in validate_nonmember_using_decl, at 
   cp/decl2.c:4152
Please submit a full bug report, [etc.]

Since we get a sensible error message with the 3.2/3.3 branch,
this is a regression.
>How-To-Repeat:
g++ -c
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-01-31 18:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-01-31 18:06 c++/9528: [3.4 regression] ICE with illegal using-declaration 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).