From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 72BDE3858C5F; Tue, 19 Mar 2024 06:47:40 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 72BDE3858C5F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1710830860; bh=KYqzRhq3QRlPY748hgEWvLf47CqHl3JonOZ3ifOc7R0=; h=From:To:Subject:Date:In-Reply-To:References:From; b=QeQGl7hHrJtXDQi6eQRtHudmpYE0TkBXzkt4ME7Jja2oHg5vLRK8Md/cTUlf4Hgas 7/Bh81RiYJbm1RnFLo5Og3so0fiSSdB6W+7cKhy84hLnhIJBvphAF2Du48zyrNsobr kaq6Ir/XH6TG+RdSlEzATNNAKt7DFNbsXGX3PThc= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/113727] [14 Regression] csmith: differences from nothing to -O1 Date: Tue, 19 Mar 2024 06:47:39 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 14.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords everconfirmed bug_status cf_reconfirmed_on 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=3D113727 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords|needs-reduction | Ever confirmed|0 |1 Status|UNCONFIRMED |NEW Last reconfirmed| |2024-03-19 --- Comment #19 from Andrew Pinski --- Confirmed. (In reply to David Binderman from comment #6) > As expected: >=20 > trunk.20210101 $ git bisect good 35b5bb475375dba4 > 6decda1a35be5764101987c210b5693a0d914e58 is the first bad commit > commit 6decda1a35be5764101987c210b5693a0d914e58 > Author: Richard Biener > Date: Thu Oct 12 11:34:57 2023 +0200 >=20 > tree-optimization/111779 - Handle some BIT_FIELD_REFs in SRA yes this seems very much the change which caused the reduced testcase even. Since if we change the bitfields to non bitfields, things start to work and ``` if (as.au) ``` is changed to: ``` if ((BIT_FIELD_REF & 31) !=3D 0) ``` by fold. If we add: ``` int t =3D as.au; ``` Right before that if statemtent things start to work too.=