Re: [PATCH] refactor gimple asm memory clobber checking

2011-04-15 Thread Richard Guenther
On Fri, Apr 15, 2011 at 3:20 PM, Nathan Froyd wrote: > There are a couple places that check GIMPLE_ASMs for clobbering memory; > this patch centralizes the logic in gimple.c. > > Tested on x86_64-unknown-linux-gnu.  OK to commit? Ok. Thanks, Richard. > -Nathan > >        * gimple.h (gimple_asm_

[PATCH] refactor gimple asm memory clobber checking

2011-04-15 Thread Nathan Froyd
There are a couple places that check GIMPLE_ASMs for clobbering memory; this patch centralizes the logic in gimple.c. Tested on x86_64-unknown-linux-gnu. OK to commit? -Nathan * gimple.h (gimple_asm_clobbers_memory_p): Declare. * gimple.c (gimple_asm_clobbers_memory_p): Define.