From 21cfc3a51db72578880c8344ebfa78605a7ab12d Mon Sep 17 00:00:00 2001 From: Richard Sandiford Date: Fri, 29 Aug 2014 15:51:13 +0000 Subject: [PATCH] re PR bootstrap/62301 (PowerPC bootstrap broken since r214654) gcc/ PR bootstrap/62301 * rtlanal.c (rtx_referenced_p): Fix typo in LABEL_P call. From-SVN: r214733 --- gcc/ChangeLog | 5 +++++ gcc/rtlanal.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index eab1819da55..8d879af5238 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2014-08-29 Richard Sandiford + + PR bootstrap/62301 + * rtlanal.c (rtx_referenced_p): Fix typo in LABEL_P call. + 2014-08-29 Richard Biener PR tree-optimization/62291 diff --git a/gcc/rtlanal.c b/gcc/rtlanal.c index e95082ccdaa..080a14f47e3 100644 --- a/gcc/rtlanal.c +++ b/gcc/rtlanal.c @@ -2849,7 +2849,7 @@ rtx_referenced_p (const_rtx x, const_rtx body) if (const_rtx y = *iter) { /* Check if a label_ref Y refers to label X. */ - if (GET_CODE (y) == LABEL_REF && LABEL_P (y) && XEXP (y, 0) == x) + if (GET_CODE (y) == LABEL_REF && LABEL_P (x) && XEXP (y, 0) == x) return true; if (rtx_equal_p (x, y)) -- 2.30.2