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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |wrong-code
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2016-06-02
     Ever confirmed|0                           |1

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Strictly speaking your asm should be incorrect as GCC does not consider
it to use/clobber "local" global memory.

That manifests itself in IPA reference computing that bar is not accessing
'a' and thus we can optimize the load across the call.

So, kind-of confirmed.

Reply via email to