From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 9D5103851C0C; Tue, 26 May 2020 23:07:23 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9D5103851C0C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1590534443; bh=BEL2R+i41bCJAIeqBiPuP89Zc5iLURzkasKvIvuIk9o=; h=From:To:Subject:Date:In-Reply-To:References:From; b=c2E6b8B0RLqfA0TROP+Zer9Dn4Dt57jjDZvOExl6ebwHKq98/YFIVL5hlz/BO/Oth WZN3Y3lctSZvTYAsE2ZJW/efGmn/7pMdt00siKxB5R1j5YN4Xyqno8m7r2Wmhw0Zho 5eiRotSt5NFg1px5GNwQAhm2aGcwhcM63N+MW16M= From: "glisse at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/95351] Comparison with NAN optimizes incorrectly with -ffast-math disabled Date: Tue, 26 May 2020 23:07:23 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 11.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: glisse at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 May 2020 23:07:23 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D95351 --- Comment #2 from Marc Glisse --- It might not be the issue, but merge_truthop_with_opposite_arm has a suspic= ious HONOR_NANS (type) where type is bool: the result of the comparison instead = of one of the arguments.=