This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/3079] ICE in c_expand_expr, at c-common.c:3521
- From: "reichelt at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 5 Sep 2003 13:52:26 -0000
- Subject: [Bug c++/3079] ICE in c_expand_expr, at c-common.c:3521
- References: <20010607173600.3079.philippeb@corel.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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.