[Bug tree-optimization/96996] Missed optimzation for constant members of non-constant objects

msebor at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Sep 14 15:18:09 GMT 2020


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

Martin Sebor <msebor at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |DUPLICATE
                 CC|                            |msebor at gcc dot gnu.org
          Component|c++                         |tree-optimization
           See Also|                            |https://gcc.gnu.org/bugzill
                   |                            |a/show_bug.cgi?id=86318

--- Comment #7 from Martin Sebor <msebor at gcc dot gnu.org> ---
Let me confirm this as a potential generic optimization.  In fact, I believe
it's a duplicate of pr80794.  The related pr86318, when implemented, should
extend this optimization to non-const locals as well.

*** This bug has been marked as a duplicate of bug 80794 ***


More information about the Gcc-bugs mailing list