https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88160
--- Comment #1 from Armin Diedering <armin at diedering dot de> --- little correcture: the first command line (without error) should be: gcc -mshort -mcpu=5475 -g -S test.c -o- the second command line (with error) should be: gcc -mshort -mcpu=5475 -g -O2 -S test.c -o- and with gcc 8.1.0 the error treated by -O1 and above Armin