Comment 6 for bug 1347147

Revision history for this message
Anders Kaseorg (andersk) wrote : Re: krb5 database propagation enters infinite loop

I’ve written a test case that clearly demonstrates the GCC 4.8 bug responsible for the kadmin.local failure:

$ gcc-4.8 -Wall -O2 bug.c -o bug
$ ./bug
$ echo $?
1
$ gcc-4.9 -Wall -O2 bug.c -o bug
$ ./bug
$ echo $?
0

A git bisection of the GCC source shows that this bug disappeared in https://gcc.gnu.org/r202525. However, I don’t understand why; the fact that r202525 was intended to fix a “missed-optimization” bug (https://gcc.gnu.org/PR58404) is a little bit terrifying.