mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-05 10:30:55 +08:00
cfgrtl.c (try_redirect_by_replacing_jump): Check only_sets_cc0_p.
gcc/ * cfgrtl.c (try_redirect_by_replacing_jump): Check only_sets_cc0_p. From-SVN: r121339
This commit is contained in:
parent
ba9f17dfd9
commit
9caea4a72f
@ -1,3 +1,7 @@
|
||||
2007-01-30 Richard Sandiford <richard@codesourcery.com>
|
||||
|
||||
* cfgrtl.c (try_redirect_by_replacing_jump): Check only_sets_cc0_p.
|
||||
|
||||
2007-01-30 Uros Bizjak <ubizjak@gmail.com>
|
||||
|
||||
* builtins.c (expand_builtin_int_interclass_roundingfn): New function
|
||||
|
@ -728,7 +728,8 @@ try_redirect_by_replacing_jump (edge e, basic_block target, bool in_cfglayout)
|
||||
the cc0 setter too. */
|
||||
kill_from = insn;
|
||||
#ifdef HAVE_cc0
|
||||
if (reg_mentioned_p (cc0_rtx, PATTERN (insn)))
|
||||
if (reg_mentioned_p (cc0_rtx, PATTERN (insn))
|
||||
&& only_sets_cc0_p (PREV_INSN (insn)))
|
||||
kill_from = PREV_INSN (insn);
|
||||
#endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user