From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25261 invoked by alias); 24 Oct 2006 09:23:57 -0000 Received: (qmail 25238 invoked by uid 48); 24 Oct 2006 09:23:47 -0000 Date: Tue, 24 Oct 2006 09:23:00 -0000 Message-ID: <20061024092347.25237.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug middle-end/28796] __builtin_nan() and __builtin_unordered() inconsistent In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "rguenth at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2006-10/txt/msg02078.txt.bz2 List-Id: ------- Comment #21 from rguenth at gcc dot gnu dot org 2006-10-24 09:23 ------- Ah well, this seems to be documented as such: -mieee-fp -mno-ieee-fp Control whether or not the compiler uses IEEE floating point comparisons. These handle correctly the case where the result of a comparison is unordered. so it really only affects FP comparisons. Closing as fixed, we can open another bug if the above is really a problem. -- rguenth at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Keywords| |wrong-code Resolution| |FIXED Target Milestone|--- |4.3.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28796