https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61825
Bug ID: 61825 Summary: [4.10 regression] g++.dg/cpp0x/static_assert9.C FAILs Product: gcc Version: 4.10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: ro at gcc dot gnu.org Host: i386-pc-solaris2.11, sparc-sun-solaris2.11, x86_64-unknown-linux-gnu Target: i386-pc-solaris2.11, sparc-sun-solaris2.11, x86_64-unknown-linux-gnu Build: i386-pc-solaris2.11, sparc-sun-solaris2.11, x86_64-unknown-linux-gnu Between 20140711 and 20140716, the ++.dg/cpp0x/static_assert9.C testcase start to FAIL on at least Solaris/x86, Solaris/SPARC, and Linux/x86: FAIL: g++.dg/cpp0x/static_assert9.C -std=c++11 (test for excess errors) FAIL: g++.dg/cpp0x/static_assert9.C -std=c++1y (test for excess errors) Excess errors: /vol/gcc/src/hg/trunk/local/gcc/testsuite/g++.dg/cpp0x/static_assert9.C:5:1: error: non-constant condition for static assertion /vol/gcc/src/hg/trunk/local/gcc/testsuite/g++.dg/cpp0x/static_assert9.C:5:1: error: '(f != 0u)' is not a constant expression This is a regression from 4.9. Rainer