Commit 7f9a14e3 by Kaz Kojima

sh.c (sh_set_return_address): Mark store of return address with a USE.

	* gcc/config/sh/sh.c (sh_set_return_address): Mark store of
	return address with a USE.

From-SVN: r147836
parent b842d478
2009-05-24 Kaz Kojima <kkojima@gcc.gnu.org>
* gcc/config/sh/sh.c (sh_set_return_address): Mark store of
return address with a USE.
2009-05-24 Richard Guenther <rguenther@suse.de>
PR middle-end/40233
......
......@@ -7055,6 +7055,8 @@ sh_set_return_address (rtx ra, rtx tmp)
tmp = gen_frame_mem (Pmode, tmp);
emit_insn (GEN_MOV (tmp, ra));
/* Tell this store isn't dead. */
emit_use (tmp);
}
/* Clear variables at function end. */
......
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