Mainline Regression in gcc.target/i386/pr32268.c

Uros Bizjak ubizjak@gmail.com
Sat Feb 16 18:53:00 GMT 2008


Richard Guenther wrote:

>> This broke on x86_64 in the last day or so, I thought maybe you might know
>> what happened.  (You touched config/i386 FP stuff recently.)  I'm seeing a
>> regression in gcc.target/i386/pr32268.c as seen here:
>> http://gcc.gnu.org/ml/gcc-testresults/2008-02/msg01108.html
>>
>> Right now the execute failures only appear with -fpic/-fPIC, however I
>> believe this is because inlining is masking the problem and allowing
>> things to get folded.  With -fpic/-fPIC the inlining is disabled and the
>> abort occurs.
>>
>> You can trigger the bug in a regular pass by applying the following
>> noinline patch to the testcase.  Thoughts?
>>     
>
> How does it break?  It works for me with noinline and with -fPIC.
>   
You need to patch the testcase. The change was somehow trivial 
(effectively changed return mode of TFmode soft-fp compare from "long" 
into __libgcc_cmp_return__ mode, which should be the same). I'll look 
into it tomorrow.

Thanks,
Uros.



More information about the Gcc mailing list