From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id EC6A93856241; Tue, 25 Jul 2023 16:50:03 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org EC6A93856241 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1690303803; bh=mA7WCf9dDHFdcOz3dArS7e4uQYECx6vao/mv4MMUoKk=; h=From:To:Subject:Date:In-Reply-To:References:From; b=o64sth1taQGKM0nPZAHtzg45OaiNQOinfO+ZxcOk8IlozVoOeFT2sfBZOy2QKg8Lz bGpiI2Hpq8yOC3V2A5HcNdYZYQ0BBj6XOz1CMbPM6TWPnZWX6lRpdIJmXeRxbW5jBI PUhyW4OvqwkXfchTuowb4yz50MZnA1jfkJYQuAu4= From: "fxcoudert at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/110796] builtin_iseqsig fails some tests in armv8l-linux-gnueabihf Date: Tue, 25 Jul 2023 16:50:03 +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: 14.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: fxcoudert at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED 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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D110796 --- Comment #5 from Francois-Xavier Coudert = --- OK, so it signals FE_INVALID on the first test. Can you run this with the s= ame options, and see what happens? ------- #include #include void ftrue (float x, float y) { if (!__builtin_iseqsig (x, y)) __builtin_abort (); } int main () { volatile float f1, f2; f1 =3D 0.f; f2 =3D 0.f; if (fetestexcept (FE_INVALID)) printf("Invalid 1\n"); ftrue (f1, f2); if (fetestexcept (FE_INVALID)) printf("Invalid 2\n"); return 0; } ------- One surprising thing is that the directive "dg-add-options ieee" in the test did not apparently add any other option for IEEE conformance=E2=80=A6=