Commit 98faf84f by Michael Matz Committed by Michael Matz

builtins.c (build_va_arg_indirect_ref): Use build_simple_mem_ref_loc.

	* builtins.c (build_va_arg_indirect_ref): Use
	build_simple_mem_ref_loc.

From-SVN: r171789
parent 10c51983
2011-03-31 Michael Matz <matz@suse.de>
* builtins.c (build_va_arg_indirect_ref): Use
build_simple_mem_ref_loc.
2011-03-31 Anatoly Sokolov <aesok@post.ru> 2011-03-31 Anatoly Sokolov <aesok@post.ru>
* config/h8300/h8300.h (GO_IF_MODE_DEPENDENT_ADDRESS): Remove macro. * config/h8300/h8300.h (GO_IF_MODE_DEPENDENT_ADDRESS): Remove macro.
......
...@@ -4748,7 +4748,7 @@ std_gimplify_va_arg_expr (tree valist, tree type, gimple_seq *pre_p, ...@@ -4748,7 +4748,7 @@ std_gimplify_va_arg_expr (tree valist, tree type, gimple_seq *pre_p,
tree tree
build_va_arg_indirect_ref (tree addr) build_va_arg_indirect_ref (tree addr)
{ {
addr = build_fold_indirect_ref_loc (EXPR_LOCATION (addr), addr); addr = build_simple_mem_ref_loc (EXPR_LOCATION (addr), addr);
if (flag_mudflap) /* Don't instrument va_arg INDIRECT_REF. */ if (flag_mudflap) /* Don't instrument va_arg INDIRECT_REF. */
mf_mark (addr); mf_mark (addr);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment