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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hubicka at gcc dot gnu.org
   Last reconfirmed|                            |2021-11-16
   Target Milestone|---                         |12.0
           Keywords|                            |missed-optimization
             Status|UNCONFIRMED                 |NEW
     Ever confirmed|0                           |1

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
So you say this is a problem with loop header copying, that would mean the
issue is really latent and general, no?  Header copying uses
gimple_duplicate_sese_region and has no own profile updating.  I guess its
profile updating code isn't designed to cope with copying a region with
"side"-entries (we are ignoring the backedge here).  Not sure if we can
somehow generally handle those (maybe we can learn from tracer or threader
here).

Honza?

Reply via email to