This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/34395] New: [4.3 regression] Broken diagnostic: 'type_pack_expansion' not supported by dump_type_prefix/suffix
- 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: 8 Dec 2007 20:41:44 -0000
- Subject: [Bug c++/34395] New: [4.3 regression] Broken diagnostic: 'type_pack_expansion' not supported by dump_type_prefix/suffix
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
The C++ frontend issues a broken diagnostic for the following invalid
testcase on mainline:
===========================================
template<int... N> void foo(int... x[N])
{
struct A
{
A() { x; }
};
}
===========================================
bug.cc: In constructor 'foo(int [N]...)::A::A()':
bug.cc:5: error: use of parameter from containing function
bug.cc:1: error: '#'type_pack_expansion' not supported by
dump_type_prefix#<typeprefixerror>x#'type_pack_expansion' not supported by
dump_type_suffix#' declared here
--
Summary: [4.3 regression] Broken diagnostic:
'type_pack_expansion' not supported by
dump_type_prefix/suffix
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=34395