From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id A570E3830B59; Fri, 21 Jun 2024 19:10:23 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A570E3830B59 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1718997023; bh=mbTB16tTnh7oTD/17uiN9G4a5/aZiBaGa/NqyT2u81Q=; h=From:To:Subject:Date:In-Reply-To:References:From; b=pBxouqd9gVmhY08ASbQXhvy3NsTsO2GtdLHTDgaTSIw304x+zjnJEEu55DgiOgtMr LBq9Bg6ijQdJhQP1PlpYtDoWHMU6LDSHTQr4k9G12mx5sZ26pDnzLSArEO7J99eXvp RWaHFmlTkld5GabjTSOAT9H346eRpd6jl4i24UaQ= From: "sjames at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/115533] [12/13/14/15 regression] flac miscompiled with -O3 -march=znver2 -fipa-pta -fno-vect-cost-model since r12-3893-g6390c5047adb75 Date: Fri, 21 Jun 2024 19:10:23 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ipa X-Bugzilla-Version: 15.0 X-Bugzilla-Keywords: needs-reduction, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: sjames 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: 12.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc 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=3D115533 Sam James changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |pinskia at gcc dot gnu.org --- Comment #14 from Sam James --- (In reply to Sam James from comment #13) > Created attachment 58481 [details] > test.c If I do: ``` - if(k =3D=3D 715635309.750000) + + if(k !=3D 715635440.437500) __builtin_abort(); ``` it starts to fail with gcc-11 -O0, which makes me worried I'm misunderstand= ing some FP issue here. $ gcc-15 test.c -o test -O3 -march=3Dznver2 -fno-vect-cost-model -fipa-pta = -o test && ./test Aborted (core dumped) pinskia, could you take a look? I don't think I can do much more without hi= nts at least=