This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug lto/61969] [4.8/4.9/4.10 Regression] wrong code by LTO on i?86-linux-gnu (affecting trunk, 4.9.x, and 4.8.x)


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61969

--- Comment #2 from Zhendong Su <su at cs dot ucdavis.edu> ---
> You mean in 32bit mode.  

Richard, yes, I meant 32-bit mode. 

> I can't reproduce it with trunk or 4.9 but only
> with 4.8:
> 
> rguenther@murzim:/tmp> ./compile.sh gcc-4.8 32 1
> rguenther@murzim:/tmp> ./t
> 2052
> 
> maybe it's sensitive to the linker used?  it works with both GNU ld and gold
> for me with 4.9 and trunk.

I used the GNU gold linker: 

$ ld -v
GNU gold (GNU Binutils for Ubuntu 2.22) 1.11
$


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]