From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 5CDCF387084B; Sun, 17 May 2020 18:32:20 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5CDCF387084B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1589740340; bh=7fGPWztVYmW7yWOUoU6UfgHSGqguvnji5MMNuw6jCeU=; h=From:To:Subject:Date:In-Reply-To:References:From; b=PoKAhYVAlsF95QxwH8B5raBHQEqAiCOUQBFdfSBnHcfGqY6ADep68qmufQI9GKeMa pXscbuEuw677kKvl279oURit4jH6OXcnefjaHBL9jT5ILe4SPU+iyQwpL1raOMyndQ JLN3u8dT6DcFBaoEEH1Out0jWK54EvlazsJrDbds= From: "ubizjak at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/95169] i386 comparison between nan and 0.0 triggers Invalid operation exception Date: Sun, 17 May 2020 18:32:20 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 10.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ubizjak at gmail dot com 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: 10.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status everconfirmed cf_reconfirmed_on target_milestone 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: Sun, 17 May 2020 18:32:20 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D95169 Uro=C5=A1 Bizjak changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever confirmed|0 |1 Last reconfirmed| |2020-05-17 Target Milestone|--- |10.2 --- Comment #5 from Uro=C5=A1 Bizjak --- There are two places in i386-expand.c that say: /* We may be reversing unordered compare to normal compare, that is not valid in general (we may convert non-trapping condition to trapping one), however on i386 we currently emit all comparisons unordered. */ This is not the case anymore. The compilation hits this place.=