From a9e6fc5a604583c33655afac7a37884f1c9d58d6 Mon Sep 17 00:00:00 2001 From: Richard Sandiford Date: Tue, 23 Sep 2008 18:28:24 +0000 Subject: tm.texi (FIND_BASE_TERM): Expand documentation. gcc/ * doc/tm.texi (FIND_BASE_TERM): Expand documentation. * config/i386/i386.c (ix86_find_base_term): Don't check for SYMBOL_REF and LABEL_REF. From-SVN: r140610 --- gcc/config/i386/i386.c | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) (limited to 'gcc/config') diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index 5872124..024e433 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -10077,22 +10077,10 @@ ix86_find_base_term (rtx x) || XINT (term, 1) != UNSPEC_GOTPCREL) return x; - term = XVECEXP (term, 0, 0); - - if (GET_CODE (term) != SYMBOL_REF - && GET_CODE (term) != LABEL_REF) - return x; - - return term; + return XVECEXP (term, 0, 0); } - term = ix86_delegitimize_address (x); - - if (GET_CODE (term) != SYMBOL_REF - && GET_CODE (term) != LABEL_REF) - return x; - - return term; + return ix86_delegitimize_address (x); } static void -- cgit v1.1