This is the mail archive of the gcc-patches@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: [PATCH] Improve PR28796 (inconsistend __builtin_nan() and __builtin_unordered()) further


On 8/24/06, Roger Sayle <roger@eyesopen.com> wrote:

On Thu, 24 Aug 2006, Richard Guenther wrote: > 2006-08-25 Richard Guenther <rguenther@suse.de> > > PR middle-end/28796 > * simplify-rtx.c (simplify_const_relational_operation): > Do not constant-fold ORDERED and UNORDERED for > flag_unsafe_math_optimizations but only we do not need to > honor NaNs for the given mode.

This is OK for 4.3.  If you can find an old version of GCC, that
didn't attempt to optimize C99's isunordered as a builtin, then this
patch is also OK for mainline.

Committed to mainline.


Richard.


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