This is the mail archive of the gcc-help@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]

Re: LTO error in gcc-trunk


2013/3/8 xunxun:
> Try
>
> gcc -c -m32 -O2 -flto lto_test.cpp -o lto_test.o
> gcc -flto lto_test.o lto_int.o -olto_test.exe

Hi,

The same error:
> g++ -m32 lto_int.o lto_test.o -flto -o lto_test.exe
> lto1.exe: internal compiler error: cannot read LTO decls from lto_int.o



-- 
Regards,
niXman
___________________________________________________
Dual-target(32 & 64-bit) MinGW compilers for 32 and 64-bit Windows:
http://sourceforge.net/projects/mingwbuilds/
___________________________________________________
Another online IDE: http://liveworkspace.org/


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