[Bug c++/71827] [5/6/7 Regression] ICE on invalid C++11 code with non constant diff between two labels

2016-12-20 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71827 --- Comment #5 from Jakub Jelinek --- __INTPTR_TYPE__ foo () { m: n: constexpr __INTPTR_TYPE__ a = ((__INTPTR_TYPE__) &&n - (__INTPTR_TYPE__) &&m) + 23; return a; } compiles fine, so it is considered an integral constant expression that jus

[Bug c++/71827] [5/6/7 Regression] ICE on invalid C++11 code with non constant diff between two labels

2016-09-19 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71827 --- Comment #4 from Paolo Carlini --- *** Bug 77556 has been marked as a duplicate of this bug. ***

[Bug c++/71827] [5/6/7 Regression] ICE on invalid C++11 code with non constant diff between two labels

2016-08-05 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71827 Richard Biener changed: What|Removed |Added Priority|P3 |P2