https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56506
--- Comment #7 from Andrew Pinski ---
(In reply to Andrew Pinski from comment #6)
> I should note clang accepts the code.
But EDG does not.
While MSVC accepts it.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56506
--- Comment #6 from Andrew Pinski ---
(In reply to Andrew Pinski from comment #5)
> Confirmed. This ICEs on the trunk (but I don't think it is a regression as
> the assert is a gcc_checking_assert).
>
> The ICE:
>
> :12:28: internal compiler
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56506
Andrew Pinski changed:
What|Removed |Added
Last reconfirmed||2024-04-04
Ever confirmed|0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56506
--- Comment #4 from Daniel Krügler daniel.kruegler at googlemail dot com
2013-03-05 20:18:00 UTC ---
(In reply to comment #3)
Presumably my judgment was a bit premature and I think there is a logical flaw
in my original argumentation: I think I
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56506
--- Comment #3 from Michael Mehlich mmehlich at semanticdesigns dot com
2013-03-04 16:58:45 UTC ---
Considering that based on 14.5.3(5) a template member declaration
XYZT...,T...::type x;
with T bound to int,bool,char must expand to
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56506
Daniel Krügler daniel.kruegler at googlemail dot com changed:
What|Removed |Added
CC|
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56506
--- Comment #1 from Michael Mehlich mmehlich at semanticdesigns dot com
2013-03-02 18:55:43 UTC ---
Some more information using a function template instead of a class template:
-- Additional code
templatetypename ... T void