[Bug tree-optimization/105248] gimple level DSE does not add DEBUG statement when deleting store to ADDRESSABLE local decl

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Nov 7 23:17:24 GMT 2022


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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Missing value or location   |gimple level DSE does not
                   |attribute for constant live |add DEBUG statement when
                   |variable likely caused by   |deleting store to
                   |tree-dse at -O1/-O2/-O3     |ADDRESSABLE local decl
             Status|UNCONFIRMED                 |NEW
     Ever confirmed|0                           |1
   Last reconfirmed|                            |2022-11-07

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Confirmed.
DSE could have added a DEBUG statement when it did:
  Deleted dead store: # .MEM_5 = VDEF <.MEM_4(D)>
l_56D.2737 = 6;


More information about the Gcc-bugs mailing list