This is the mail archive of the gcc-bugs@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]

[Bug middle-end/20434] pessimization of complex expression


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-03-11 22:55 -------
(In reply to comment #3)
> > > - Why the casts to double?
> > Because that is required by the C standard.
> 
> Isn't that covered by the as-if rule?  I'm fairly
> sure the cast to double won't change the result of
> the "<" operator :-)

No but the addition is done in double.

-- 


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


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