This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/33209] New: Broken diagnostic: 'template_type_parm' not supported by dump_expr
- 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: 27 Aug 2007 21:40:24 -0000
- Subject: [Bug c++/33209] New: Broken diagnostic: 'template_type_parm' not supported by dump_expr
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
The following invalid code snippet triggers a broken diagnostic on mainline:
================================================
template<typename T> void foo(int, T::x);
================================================
bug.cc:1: error: '#'template_type_parm' not supported by dump_expr#<expression
error>::x' is not a type
Before we got the message:
bug.cc:1: error: 'T::x' is not a type
--
Summary: Broken diagnostic: 'template_type_parm' not supported by
dump_expr
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Keywords: diagnostic, monitored
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: reichelt at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33209