This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Mainline Regression in gcc.target/i386/pr32268.c
On Feb 16, 2008 7:52 PM, Uros Bizjak <ubizjak@gmail.com> wrote:
> 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.
I'm confused - I tested on updated trunk exactly as Kaveh reported - so you
say I need additional patches to trigger the failure?
Richard.