diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2763af1d4e7..8016ac1f631 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2016-07-20 Andreas Krebbel + + * config/s390/s390.c (s390_encode_section_info): Remove mode size + check. + 2016-07-20 Uros Bizjak * cse.c: Use HOST_WIDE_INT_M1 instead of ~(HOST_WIDE_INT) 0. diff --git a/gcc/config/s390/s390.c b/gcc/config/s390/s390.c index 318c021290f..23d758c35d6 100644 --- a/gcc/config/s390/s390.c +++ b/gcc/config/s390/s390.c @@ -12413,8 +12413,7 @@ s390_encode_section_info (tree decl, rtx rtl, int first) /* Store the alignment to be able to check if we can use a larl/load-relative instruction. We only handle the cases that can go wrong (i.e. no FUNC_DECLs). */ - if (DECL_ALIGN (decl) == 0 - || DECL_ALIGN (decl) % 16) + if (DECL_ALIGN (decl) == 0 || DECL_ALIGN (decl) % 16) SYMBOL_FLAG_SET_NOTALIGN2 (XEXP (rtl, 0)); else if (DECL_ALIGN (decl) % 32) SYMBOL_FLAG_SET_NOTALIGN4 (XEXP (rtl, 0)); @@ -12429,9 +12428,7 @@ s390_encode_section_info (tree decl, rtx rtl, int first) && GET_CODE (XEXP (rtl, 0)) == SYMBOL_REF && TREE_CONSTANT_POOL_ADDRESS_P (XEXP (rtl, 0))) { - if (MEM_ALIGN (rtl) == 0 - || GET_MODE_SIZE (GET_MODE (rtl)) == 0 - || MEM_ALIGN (rtl) % 16) + if (MEM_ALIGN (rtl) == 0 || MEM_ALIGN (rtl) % 16) SYMBOL_FLAG_SET_NOTALIGN2 (XEXP (rtl, 0)); else if (MEM_ALIGN (rtl) % 32) SYMBOL_FLAG_SET_NOTALIGN4 (XEXP (rtl, 0));