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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org,
                   |                            |matz at gcc dot gnu.org

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
This started with r181332.  forwprop3 moves the comparison after the CLOBBER
stmt and IPA opts change the method so that it doesn't take the argument that
it doesn't use, so there are no references to a anymore before the temporary
goes out of scope and expansion decides to allocate them at the same spot.  No
idea what to do against this though, treating a CLOBBER as a barrier for
propagation of addresses to other local variables would penalize stuff way too
much.  And giving up on stack slot sharing because of such an artificial
testcase is not useful either.

Reply via email to