Possible bug with switch when optimization is turned on.

Jim Wilson jim.wilson@linaro.org
Thu Dec 8 06:24:00 GMT 2016


On 12/05/2016 03:24 PM, luke B wrote:
> The following code seems to be correctly executed when compiled with
> GCC 4.4.7 and LLVM 6.1. It does not correctly compile with gcc version
> 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.4).

I created a bug report and added some info.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78731

Jim



More information about the Gcc-bugs mailing list