This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/41570] [4.5 Regression] [c++0x] ICE with -g and variadic templates
- From: "ciaran dot mccreesh at googlemail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 4 Oct 2009 22:55:45 -0000
- Subject: [Bug c++/41570] [4.5 Regression] [c++0x] ICE with -g and variadic templates
- References: <bug-41570-13262@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from ciaran dot mccreesh at googlemail dot com 2009-10-04 22:55 -------
This was introduced in svn://gcc.gnu.org/svn/gcc/trunk@152043 for bug 41266.
The DECL_NAME (parm_pack) assertion doesn't hold if the pack's empty.
This leads to a much simpler test case:
template <typename...>
struct M
{
};
struct R :
M<>
{
};
--
ciaran dot mccreesh at googlemail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dodji at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41570