http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59413

--- Comment #4 from Zhendong Su <su at cs dot ucdavis.edu> ---
(In reply to Jakub Jelinek from comment #2)
> I couldn't reproduce this either, neither -m32/-m64 helps, tried also
> r205733 and various other snapshots, everything prints 7.

But it doesn't appear to fail with the latest trunk revision (r206135): 

$ gcc-trunk -v
Using built-in specs.
COLLECT_GCC=gcc-trunk
COLLECT_LTO_WRAPPER=/usr/local/gcc-trunk/libexec/gcc/x86_64-unknown-linux-gnu/4.9.0/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: ../gcc-trunk/configure --prefix=/usr/local/gcc-trunk
--enable-languages=c,c++,lto --disable-werror --enable-multilib
Thread model: posix
gcc version 4.9.0 20131219 (experimental) [trunk revision 206135] (GCC) 
$     
$ gcc-trunk -Os small.c; a.out
7
$

Reply via email to