From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 5FC853854836; Wed, 1 Mar 2023 14:58:01 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5FC853854836 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1677682681; bh=sJ6Tp6qS+KseiKe3IlXRisqYmdSdbk4j4hCoMVbHV3c=; h=From:To:Subject:Date:In-Reply-To:References:From; b=K7X6+vrFI9wMvsZ55I93WEJW8SzKN1z36W59MCIvKpI7YQMPOh0fqdE+gjCLN5BMd ISn2pKcvgfrIt0GMbsM7nEEnhOKqqE/T28iFsLno6mV3PnDGo+vERtdgPn4X/GcCB4 YIWcKTCSjBSEx33Gu55vZTRhMBdDUWHt/J/IU4UQ= From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/107561] [13 Regression] g++.dg/pr71488.C and [g++.dg/warn/Warray-bounds-16.C -m32] regression due to -Wstringop-overflow problem Date: Wed, 01 Mar 2023 14:57:59 +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: 13.0 X-Bugzilla-Keywords: diagnostic, missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 13.0 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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D107561 --- Comment #19 from Jakub Jelinek --- And on void bar (void); struct X { X (int); int i; int j; void baz (int); }; X::X(int k) { i =3D k; bar (); j =3D i !=3D k; } void X::baz(int k) { i =3D k; bar (); j =3D i !=3D k; } while I see # PT =3D { D.2822 } (nonlocal, restrict) struct X * const this_5(D) =3D this; later on in the dumps (not really sure what exactly causes it), in baz it is not there: # PT =3D nonlocal struct X * const this_5(D) =3D this;=