[Bug c++/38502] static_assert vs. enums

2011-09-25 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38502 Paolo Carlini changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|gcc-bugs at g

[Bug c++/38502] static_assert vs. enums

2008-12-12 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2008-12-12 23:04 --- Why do you think __m could even appear in a static_assert? It is a function argument. Changing __m to a type of int shows the same. Changing it to a template argument causes an ICE though: t.cc: In function 'int f(