+2011-03-20 Eric Botcazou <ebotcazou@adacore.com>
+
+ PR bootstrap/48168
+ * config/sparc/sparc.c (sparc_delegitimize_address): Add new pattern.
+
2011-03-20 Jakub Jelinek <jakub@redhat.com>
PR rtl-optimization/48156
gcc_assert (GET_CODE (x) == SYMBOL_REF);
}
+ /* This is generated by mov{si,di}_pic_label_ref in PIC mode. */
+ if (GET_CODE (x) == MINUS
+ && REG_P (XEXP (x, 0))
+ && REGNO (XEXP (x, 0)) == PIC_OFFSET_TABLE_REGNUM
+ && GET_CODE (XEXP (x, 1)) == LO_SUM
+ && GET_CODE (XEXP (XEXP (x, 1), 1)) == UNSPEC
+ && XINT (XEXP (XEXP (x, 1), 1), 1) == UNSPEC_MOVE_PIC_LABEL)
+ {
+ x = XVECEXP (XEXP (XEXP (x, 1), 1), 0, 0);
+ gcc_assert (GET_CODE (x) == LABEL_REF);
+ }
+
return x;
}