Commit f9faf954 by Jan Hubicka Committed by Jan Hubicka

* ifcvt.c (find_cond_trap): Avoid invalid RTL sharing.

From-SVN: r126281
parent 9eb0d3d7
2007-07-03 Jan Hubicka <jh@suse.cz>
* ifcvt.c (find_cond_trap): Avoid invalid RTL sharing.
2007-07-03 Eric Christopher <echristo@apple.com>
* doc/cppopts.texi: Add conflicting option note to -dM.
......
......@@ -3311,8 +3311,8 @@ find_cond_trap (basic_block test_bb, edge then_edge, edge else_edge)
}
/* Attempt to generate the conditional trap. */
seq = gen_cond_trap (code, XEXP (cond, 0),
XEXP (cond, 1),
seq = gen_cond_trap (code, copy_rtx (XEXP (cond, 0)),
copy_rtx (XEXP (cond, 1)),
TRAP_CODE (PATTERN (trap)));
if (seq == NULL)
return FALSE;
......
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