diff options
Diffstat (limited to 'gcc/sched-deps.c')
-rw-r--r-- | gcc/sched-deps.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/sched-deps.c b/gcc/sched-deps.c index 390ab3e2d66..ccd9a32f915 100644 --- a/gcc/sched-deps.c +++ b/gcc/sched-deps.c @@ -171,8 +171,8 @@ get_condition (rtx insn) static int conditions_mutex_p (rtx cond1, rtx cond2) { - if (GET_RTX_CLASS (GET_CODE (cond1)) == '<' - && GET_RTX_CLASS (GET_CODE (cond2)) == '<' + if (COMPARISON_P (cond1) + && COMPARISON_P (cond2) && GET_CODE (cond1) == reverse_condition (GET_CODE (cond2)) && XEXP (cond1, 0) == XEXP (cond2, 0) && XEXP (cond1, 1) == XEXP (cond2, 1)) |