https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71871
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |ice-on-valid-code Status|UNCONFIRMED |NEW Last reconfirmed| |2016-07-14 Ever confirmed|0 |1 Known to fail| |5.4.0, 7.0 --- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> --- I get ./cc1plus -quiet t.ii t.ii: In instantiation of ‘void foo() [with unsigned int N = 0u]’: t.ii:12:10: required from here t.ii:7:5: internal compiler error: in tsubst_copy, at cp/pt.c:13616 x = x ? x : -1; ^ 0x79946e tsubst_copy /space/rguenther/src/svn/gcc-5-branch/gcc/cp/pt.c:13616 0x7a6da8 tsubst_copy_and_build(tree_node*, tree_node*, int, tree_node*, bool, bool) /space/rguenther/src/svn/gcc-5-branch/gcc/cp/pt.c:15960 0x7a2446 tsubst_copy_and_build(tree_node*, tree_node*, int, tree_node*, bool, bool) with checking enabled, so your errors are is misleading.