http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48003
Philipp <s...@s-e-f-i.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |s...@s-e-f-i.de --- Comment #1 from Philipp <s...@s-e-f-i.de> 2011-03-06 12:29:29 UTC --- Small testcase. #include <climits> template<int N> struct test { typedef test<N - 1> prior; }; typedef test<INT_MIN> foo; foo f; int main() { } Of course INT_MIN - 1 is undefined but should gcc really evaluate it here?