diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6c35f0e7262..e1975a54380 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2016-03-01 Andreas Krebbel + + * config/s390/s390.c (s390_decompose_address): Don't accept SImode + anymore. + 2016-03-01 Andreas Krebbel * config/s390/constraints.md ("jm8"): New constraint. diff --git a/gcc/config/s390/s390.c b/gcc/config/s390/s390.c index 43219dd8f02..8924367a3ba 100644 --- a/gcc/config/s390/s390.c +++ b/gcc/config/s390/s390.c @@ -2817,9 +2817,7 @@ s390_decompose_address (rtx addr, struct s390_address *out) return false; } - if (!REG_P (base) - || (GET_MODE (base) != SImode - && GET_MODE (base) != Pmode)) + if (!REG_P (base) || GET_MODE (base) != Pmode) return false; if (REGNO (base) == STACK_POINTER_REGNUM @@ -2865,9 +2863,7 @@ s390_decompose_address (rtx addr, struct s390_address *out) return false; } - if (!REG_P (indx) - || (GET_MODE (indx) != SImode - && GET_MODE (indx) != Pmode)) + if (!REG_P (indx) || GET_MODE (indx) != Pmode) return false; if (REGNO (indx) == STACK_POINTER_REGNUM