This is the mail archive of the gcc@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: Mainline Regression in gcc.target/i386/pr32268.c


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.


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