https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63900
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |INVALID
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to David from comment #0)
> Change MYSIZE to 3 (or 12, 1000, 0xfffffff, etc) we see the value getting
> read from memory before calling printf, indicating the asm performed a full
> clobber (affecting buff2) instead of just clobbering buff as was intended.
So that is just an optimization anyways. So closing as invalid.