PR/24146, asms with no outputs are not treated as volatile
Andrew Pinski
pinskia@physics.uc.edu
Fri Sep 30 14:55:00 GMT 2005
On Sep 30, 2005, at 10:41 AM, Paolo Bonzini wrote:
> The problem is that expand_asm_operands does mark the asm as volatile,
> but only after the tree optimization passes have had many
> opportunities to optimize it away. It can be fixed in the gimplifier
> or in the front-end, I chose the latter.
Plus you forgot about the C++ front-end also.
--- Pinski
More information about the Gcc-patches
mailing list