64bit: Possible optimizer bug in g++ 4.8.0 20130319

Christian Franke Christian.Franke@t-online.de
Thu Apr 18 16:44:00 GMT 2013


Christian Franke wrote:
> Kai Tietz wrote:
>> Hello,
>>
>> 2013/3/23 Corinna Vinschen schrieb:
>>> Thanks for the testcase.  I'm not a gcc expert, so I defer to Kai.
>>> Kai, can you have a look what happens here?
>>>
>>>
>>> Thanks,
>>> Corinna
>> yes, this is a gcc bug.  it isn't sepcial to cygwin64.  It happens
>> also for x64 mingw, so please file a regression-bug in gcc's bz.  I
>> will take a closer look about its cause.  For me it looks like that
>> unwinding-information doesn't reflect difference in stack-use here,
>> but I will need to investigate in more detail.
>>
>
> Done. Likely a problem with -freorder-blocks and unwinding-info:
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56747

Just for info: g++ 4.8.0-2 works as expected, 4.8-pr56742.patch was 
effective.
Smartmontools now works with -O2 or -O3, even with -flto.

Thanks,
Christian



More information about the Cygwin-apps mailing list