from the setcc argument.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54221
138bc75d-0d04-0410-961f-
82ee72b054a4
+2002-06-03 Roger Sayle <roger@eyesopen.com>
+
+ * gcse.c (cprop_jump): Use single_set to get the pattern
+ from the setcc argument.
+
2002-06-03 Gabriel Dos Reis <gdr@codesourcery.com>
* diagnostic.h (diagnostic_count): Move from output_buffer to
/* First substitute in the INSN condition as the SET_SRC of the JUMP,
then substitute that given values in this expanded JUMP. */
if (setcc != NULL)
- new_set = simplify_replace_rtx (SET_SRC (set),
- SET_DEST (PATTERN (setcc)),
- SET_SRC (PATTERN (setcc)));
+ {
+ rtx setcc_set = single_set (setcc);
+ new_set = simplify_replace_rtx (SET_SRC (set),
+ SET_DEST (setcc_set),
+ SET_SRC (setcc_set));
+ }
else
new_set = set;