[tree-ssa] PATCH to gimplify some posteffects better

Jason Merrill jason@redhat.com
Wed Sep 10 21:34:00 GMT 2003


I noticed recently that posteffects in asm arguments were being emitted
before the asm; they ought to go after, as they do with the trunk.  This
patch fixes that and get_initialized_tmp_var, which also gets a postqueue
parameter.

Tested athlon-pc-linux-gnu, applied to tree-ssa.

2003-09-10  Jason Merrill  <jason@redhat.com>

	* gimplify.c (gimplify_asm_expr): Add post_p parm.
	(get_initialized_tmp_var): Add post_p parm.
	(internal_get_tmp_var): Likewise.
	(gimplify_expr, get_formal_tmp_var): Pass it.
	* c-simplify.c (gimplify_decl_stmt): Pass it.
	* tree-simple.h: Adjust prototype.
	
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/x-patch
Size: 9411 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20030910/92229b78/attachment.bin>


More information about the Gcc-patches mailing list