https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111734

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hubicka at gcc dot gnu.org,
                   |                            |jamborm at gcc dot gnu.org,
                   |                            |rguenth at gcc dot gnu.org
           Priority|P3                          |P1

--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> ---
-fno-ipa-modref fixes it.

Fails with -O3 -fno-inline -fno-toplevel-reorder -fno-tree-fre

--- a-t.c.146t.pre 2023-10-17 15:07:52.544953598 +0200
+++ a-t.c.146t.pre.bad 2023-10-17 15:07:45.788953643 +0200
@@ -25,7 +25,6 @@
   int _4;

   <bb 2> [local count: 1073741824]:
-  i = &e;
   g.constprop (&i);
   i.2_3 = i;
   _4 = *i.2_3;

I think this is a duplicate of the modref / IPA-CP issue (failing to remember
the PR number) which IIRC has a patch under review.

Reply via email to