[Bug c++/34383] ICE on Usage of default function template argument

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

[Bug c++/34383] ICE on Usage of default function template argument

2007-12-07 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2007-12-07 19:03 --- Confirmed. This one ICEs different: template class Foo {}; template class Comp = Foo> void STATIC_ASSERT() { } int main() { unsigned int b; STATIC_ASSERT<>(); } t.C: In function ‘int main()’: t.C: