------- Comment #2 from pinskia at gmail dot com  2008-03-04 08:49 -------
Subject: Re:  Different results for inlined vs. non-inlined function



Sent from my iPhone

On Mar 4, 2008, at 0:40, "ubizjak at gmail dot com" <[EMAIL PROTECTED] 
 > wrote:

>
>
> ------- Comment #1 from ubizjak at gmail dot com  2008-03-04 08:40  
> -------
> Hm, -0.0 >= 0.0 is folded to TRUE, as confirmed by:
>
> printf ("%i\n", -0.0 >= 0.0);
>
> This produces 1.
>

That is correct. The noinline case is wrong. It should not be  
converted to be abs.

-- Pinski

>
> -- 
>
>
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35456
>


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35456

Reply via email to