This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH]: add folding of builtin modf
- From: Andrew Pinski <pinskia at physics dot uc dot edu>
- To: ghazi at caip dot rutgers dot edu (Kaveh R. GHAZI)
- Cc: pinskia at gmail dot com (Andrew Pinski), kkojima at rr dot iij4u dot or dot jp (Kaz Kojima), gcc-patches at gcc dot gnu dot org
- Date: Mon, 26 Feb 2007 19:10:17 -0500 (EST)
- Subject: Re: [PATCH]: add folding of builtin modf
>
> On Mon, 26 Feb 2007, Andrew Pinski wrote:
>
> > On 2/26/07, Kaveh R. GHAZI <ghazi@caip.rutgers.edu> wrote:
> > >
> > > Oops sorry, got it:
> >
> > Plus this testcase also fails under powerpc-linux-gnu and powerpc64-linux-gnu.
>
> Yes I saw your previous message, that problem clearly is something
> different. I've been unsuccessful thus far reproducing it with a
> powerpc-linux-gnu cross-compiler. This is strange, I see e.g.
> powerpc-darwin fails the modf test plus logb and frexp, but not the ldexp
> test here:
> http://gcc.gnu.org/ml/gcc-testresults/2007-02/msg00997.html
>
> But on the same day, powerpc-aix passes them all:
> http://gcc.gnu.org/ml/gcc-testresults/2007-02/msg00999.html
>
> Does your box only fail modf, or any of the others?
Can you try adding -mlong-double-128 as I think the issue is that
IBM 128bit long double is causing the failure.
-- Pinski