This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PR/24146, asms with no outputs are not treated as volatile



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]