https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67814
Jameson <vtjnash at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|tree-optimization |rtl-optimization Version|5.2.0 |5.1.1 --- Comment #1 from Jameson <vtjnash at gmail dot com> --- I have discovered that the following is also sufficient to generate the same `cmpl %ebx, %ebx` assembly: `gcc -m32 -fPIC -O2 -ggdb3 -c alloc.i -S -o - | less` I tested this using gcc 5.1.1 from Ubuntu 15.04 x86_64. (search for ".loc 1 583 0" in the resulting assembly to quickly find the failed instruction sequence).