This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/34611] New: [4.3 regression] Broken diagnostic: 'tree_list' 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: 28 Dec 2007 19:51:51 -0000
- Subject: [Bug c++/34611] New: [4.3 regression] Broken diagnostic: 'tree_list' not supported by dump_expr
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
On mainline the compiler issues a broken diagnostic for the following
invalid code snippet:
=======================================================
template<int> struct A
{
template<int> void foo();
};
template<> template<double> void A<0>::foo()
{
X;
}
=======================================================
bug.cc:6: error: 'double' is not a valid type for a template constant parameter
bug.cc: In member function 'void A<<anonymous> >::foo() [with int <anonymous> =
#'tree_list' not supported by dump_expr#<expression error>, int <anonymous> =
0]':
bug.cc:8: error: 'X' was not declared in this scope
The bug appeared between 2007-10-13 and 2007-11-13.
--
Summary: [4.3 regression] Broken diagnostic: 'tree_list' 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=34611