From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 540C63858298; Fri, 27 Oct 2023 12:57:45 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 540C63858298 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1698411465; bh=I6ij3UjX6lOgym9GQj1k8IpivW2k6l3xREEFQQglxks=; h=From:To:Subject:Date:In-Reply-To:References:From; b=A1AG8v95nlIsx6y4sUCl1QvuRHdQgfgxrMr03kv7QeHuIpD5JneOg0aD9bcJksjQg A1Ldo1RBo6idK0YQSb4oYw4U9r5cnUB2H62R9xCVIIyLFRY+AtzyIJiBz07vZWN0ww eZjM/8lV715Ln7JOgNZ7B9C1AYMdzlN8A3hnX3Eo= From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/112087] gimple front end: Simple testcase with array fails to round trip Date: Fri, 27 Oct 2023 12:57:44 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cf_reconfirmed_on bug_status everconfirmed 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=3D112087 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed| |2023-10-27 Status|UNCONFIRMED |NEW Ever confirmed|0 |1 --- Comment #1 from Richard Biener --- "Round-tripping" in the sense of gcc -fdump-tree-X-gimple=3D- t.c -S | gcc -x c -fgimple - was never the intention. Yes, parsing of CLOBBERs isn't implemented, nor is parsing of "gimple_has_volatile_ops", but since that's redundant info recomputed at update_stmt time we can just scrap it at dump time (but then it's a bit odd to not see it with -gimple ..). It would be nice to have bugreports more specific that "cannot round-trip A= or B". Two bugs for this. Parsing of =3D{v} Parsing of {CLOBBER} (and variants) parsing of =3D{v} is a bit difficult since it would need to be tentative (there's always a reason why seemingly "easy" things are not yet done). Finding a better syntax for dumping the flags on a stmt might help. Workaround for both: use -fstack-reuse=3Dnone=