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: [tree-ssa] Fix gimplification of volatile asms [patch]


On Tue, 2003-06-10 at 18:28, Jason Merrill wrote:

> No, it doesn't.  Actually, looking at the code again, the problem is that
> *stmt_p and stmt aren't the same thing; *stmt_p is the first statement in a
> series, which is unlikely to be the ASM_STMT we're interested in.
>
Oh, right.  I'd missed the loop we're in.  *blush*.

> Having checking in the ASM_VOLATILE_P macro would have caught this.  Oops.
> 
It should be a matter of wrapping ASM_EXPR_CHECK() around the macro,
right?


Diego.


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