From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id C8D9E3858280; Tue, 25 Jul 2023 17:14:03 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C8D9E3858280 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1690305243; bh=e0zooy5/4QlqfQ6GNSKMnlhUpJBw8c/BeOhRKSbhkm4=; h=From:To:Subject:Date:In-Reply-To:References:From; b=wtoxnLOUa+kaoy3KUuGuFsKmRJiAEEMkGOhiMftOqnWfYp3osNAivXT5bACQ1U07g wJBByAc9k2lx5Xo72RMs4cLM5TJJdUD9OaOojq0cm0ip9IOM4Aj4noN96n1TmEkhNk DSx2PJYeH7vZ3IWEA+T8Ka4iFk2yQvN/PpDuC5ys= From: "thiago.bauermann at linaro dot 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 17:14: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: thiago.bauermann at linaro dot 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 #7 from Thiago Jung Bauermann --- (In reply to Francois-Xavier Coudert from comment #5) > OK, so it signals FE_INVALID on the first test. Can you run this with the > same options, and see what happens? It ran normally: thiago.bauermann@tcwg-jade-03-dev:~/tmp$ cat test-1.c #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; } thiago.bauermann@tcwg-jade-03-dev:~/tmp$ /home/thiago.bauermann/.cache/builds/gcc-native-aarch32/gcc/xgcc -B/home/thiago.bauermann/.cache/builds/gcc-native-aarch32/gcc/ test-1.c=20 -fdiagnostics-plain-output -Os -fsignaling-nans -ggdb3 -lm -o ./test-1 thiago.bauermann@tcwg-jade-03-dev:~/tmp$ ./test-1 thiago.bauermann@tcwg-jade-03-dev:~/tmp$ echo $? 0 thiago.bauermann@tcwg-jade-03-dev:~/tmp$ > One surprising thing is that the directive "dg-add-options ieee" in the t= est > did not apparently add any other option for IEEE conformance=E2=80=A6 Ah, that's an interesting thread to pull. I'll investigate if there's any option we should be adding.=