This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/39637] ICE on ill-formed sizeof(<parameter-pack>) in variadic template
- From: "dodji at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 6 Apr 2009 10:28:33 -0000
- Subject: [Bug c++/39637] ICE on ill-formed sizeof(<parameter-pack>) in variadic template
- References: <bug-39637-1186@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from dodji at gcc dot gnu dot org 2009-04-06 10:28 -------
Created an attachment (id=17593)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17593&action=view)
candidate fix
I am regtesting this fix atm.
With it, I get the following error output from g++ trunk from today:
test.cc:11: instantiated from here
test.cc:5: error: enumerator value for ?e? is not an integer constant
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39637