From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id C6B2D385B516; Wed, 11 Oct 2023 13:36:33 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C6B2D385B516 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1697031393; bh=8OMT2Q2BOtgGuJLQsrddt6w4ZB4LTfOjfN9HAlPoH+Q=; h=From:To:Subject:Date:In-Reply-To:References:From; b=s9FhYgbSb0g2Um+8q2CZBSdrKJUNyPSdy4dyfGUkC55ySomsWwO1I4hCI2FzOtnPW IzexRzjntqKkdXZxzpCPxETp+uTjL9vgUi8J+jGZiwJ5RACYQmkhJmuNndQCk4b3yR Fazz2/nRXb5opmHbeF1UwX9xELIHlIXtrzN2MYYw= From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/111764] [11/12/13/14 Regression] Wrong code at -O3 on x86_64-linux-gnu Date: Wed, 11 Oct 2023 13:36:33 +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: needs-bisection, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 11.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status assigned_to 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=3D111764 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot = gnu.org --- Comment #3 from Richard Biener --- OK, so the vectorizer transforms b =3D 2; for (;;) b =3D b * b; to b =3D 1; for (;;) b =3D b * b; b *=3D 2; which is obviously wrong(TM).=