From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id F2DC839D5C2E; Thu, 22 Apr 2021 13:10:15 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org F2DC839D5C2E From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/100182] [8/9/10/11/12 Regression] Miscompilation of atomic_float/1.cc and atomic_float/wait_notify.cc on i686 Date: Thu, 22 Apr 2021 13:10:15 +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: 11.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.5 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: Thu, 22 Apr 2021 13:10:16 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D100182 --- Comment #5 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:0f4588141fcbe4e0f1fa12776b47200870f6c621 commit r12-60-g0f4588141fcbe4e0f1fa12776b47200870f6c621 Author: Jakub Jelinek Date: Thu Apr 22 15:08:21 2021 +0200 libstdc++: Add workaround for ia32 floating atomics miscompilations [PR100184] gcc on ia32 miscompiles various atomics involving floating point, unfortunately I'm afraid it is too late to fix that for 11.1 and as I'm quite lost on it, it might take a while for 12 too (disabling all the 8 peephole2s would be easiest, but then we'd run into optimization regressions). While 1.cc just FAILs, with dejagnu 1.6.1 wait_notify.cc hangs the make check even after the timeout fires. The following patch therefore xfails the former and skips the latter. Tested on x86_64-linux where make check RUNTESTFLAGS=3D'conformance.exp=3Datomic_float/*.cc' is still =3D=3D=3D libstdc++ Summary =3D=3D=3D # of expected passes 8 and on i686-linux, where it is now =3D=3D=3D libstdc++ Summary =3D=3D=3D # of expected passes 5 # of expected failures 1 # of unsupported tests 1 2021-04-22 Jakub Jelinek PR target/100182 * testsuite/29_atomics/atomic_float/1.cc: Add dg-xfail-run-if f= or ia32. * testsuite/29_atomics/atomic_float/wait_notify.cc: Add dg-skip= -if for ia32.=