Commit 07288ab0 by Kaz Kojima

mode-switching.c (create_pre_exit): Skip blockage insn.

	* mode-switching.c (create_pre_exit): Skip blockage insn.

From-SVN: r122791
parent 9eeea761
2007-03-10 Kaz Kojima <kkojima@gcc.gnu.org>
* mode-switching.c (create_pre_exit): Skip blockage insn.
2007-03-09 Diego Novillo <dnovillo@redhat.com>
* tree-pass.h (TODO_update_smt_usage): Remove.
......
......@@ -259,6 +259,12 @@ create_pre_exit (int n_entities, int *entity_map, const int *num_modes)
last_insn = return_copy;
continue;
}
if (GET_CODE (PATTERN (return_copy)) == ASM_INPUT
&& strcmp (XSTR (PATTERN (return_copy), 0), "") == 0)
{
last_insn = return_copy;
continue;
}
/* If the return register is not (in its entirety)
likely spilled, the return copy might be
partially or completely optimized away. */
......
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