From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id E36E03938398; Fri, 11 Jun 2021 08:15:57 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E36E03938398 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/101025] [11/12 Regression] wrong code at -O3 on x86_64-linux-gnu Date: Fri, 11 Jun 2021 08:15:57 +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: 12.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 11.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cf_known_to_work assigned_to priority cf_known_to_fail cf_reconfirmed_on target_milestone everconfirmed version short_desc bug_status 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: Fri, 11 Jun 2021 08:15:58 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D101025 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Known to work| |10.3.0 Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot = gnu.org Priority|P3 |P2 Known to fail| |11.1.0, 12.0 Last reconfirmed| |2021-06-11 Target Milestone|--- |11.2 Ever confirmed|0 |1 Version|unknown |12.0 Summary|wrong code at -O3 on |[11/12 Regression] wrong |x86_64-linux-gnu |code at -O3 on | |x86_64-linux-gnu Status|UNCONFIRMED |ASSIGNED --- Comment #1 from Richard Biener --- Confirmed. -fno-tree-vectorize fixes it, but in the end it seems to be store motion that moves the vector stores across the stores in the if (!g) block. Thus -fno-tree-loop-im also fixes it.=