https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108684
--- Comment #10 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Jakub Jelinek from comment #9) > I think that is how inline asm always behaved. If it is not ok to be DCEd > when the result is dead, one needs to use volatile keyword. Oh you are right I always forgot that (yes I double checked the manual this time around), anyways I am going to test (the other) Andrew's patch and will submit it.