[Bug c++/3079] ICE in c_expand_expr, at c-common.c:3521

reichelt at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Fri Sep 5 13:52:00 GMT 2003


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3079


reichelt at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED


------- Additional Comments From reichelt at gcc dot gnu dot org  2003-09-05 13:52 -------
Fixed on mainline by Nathan's patch for PR 11922.

We now issue the error message

PR3079.cc: In function `void foo(T) [with T = B<int>]':
PR3079.cc:15:   instantiated from here
PR3079.cc:8: error: `T::X' names a type, but a non-type is expected

for the code snippet in comment #3.



More information about the Gcc-bugs mailing list