Mingw-w64 and flto

Patrick Oppenlander pattyo.lists@gmail.com
Wed Dec 3 21:48:00 GMT 2014


On 27/11/14 22:06, Adrien Nader wrote:
> On Tue, Nov 25, 2014, Greg Williamson wrote:
>> I only get errors when using -flto with mingw-w64. With no -flto flag
>> theres no errors and with gnu g++ theres no error. Is this just a bug
>> in mingw? Is there a work around?
> I haven't yet heard of success using LTO with mingw-w64 on actual
> projects. I don't think it's very stable and usable at the moment.
>

I reported an LTO ICE yesterday with host=mingw-w64 target=powerpc-eabispe.

Same code builds perfectly with a linux host so I'm inclined to agree.

         Patrick



More information about the Gcc-help mailing list