This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
c++/10586: [3.4 regression] ICE in make_typename_type with "typename typeof(x)::T"
- From: bangerth at dealii dot org
- To: gcc-gnats at gcc dot gnu dot org
- Date: 1 May 2003 19:28:41 -0000
- Subject: c++/10586: [3.4 regression] ICE in make_typename_type with "typename typeof(x)::T"
- Reply-to: bangerth at dealii dot org
>Number: 10586
>Category: c++
>Synopsis: [3.4 regression] ICE in make_typename_type with "typename typeof(x)::T"
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu May 01 20:56:01 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: Wolfgang Bangerth
>Release: unknown-1.0
>Organization:
>Environment:
present 3.4 CVS
>Description:
This is of course bogus:
-------------------------
int foo ()
{
typename typeof(int)::X q;
}
-------------------------
This got us just an error until 3.3, but now ICEs:
g/x> /home/bangerth/bin/gcc-3.4-pre/bin/bin/c++ -c x.cc
x.cc: In function `int foo()':
x.cc:3: error: using `typename' outside of template
x.cc:3: error: expected nested-name-specifier
x.cc:3: error: expected identifier
x.cc:3: internal compiler error: in make_typename_type, at cp/decl.c:5456
Please submit a full bug report,
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: