diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 400efcaf460..495e1920259 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2009-10-13 Andreas Krebbel + + * config/s390/s390.c (s390_encode_section_info): Handle BLKmode + properly. + 2009-10-12 Alexandre Oliva PR debug/41343 diff --git a/gcc/config/s390/s390.c b/gcc/config/s390/s390.c index e439b01709f..3be52d0d9a4 100644 --- a/gcc/config/s390/s390.c +++ b/gcc/config/s390/s390.c @@ -9003,6 +9003,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)) && (MEM_ALIGN (rtl) == 0 + || GET_MODE_BITSIZE (GET_MODE (rtl)) == 0 || MEM_ALIGN (rtl) < GET_MODE_BITSIZE (GET_MODE (rtl)))) SYMBOL_REF_FLAGS (XEXP (rtl, 0)) |= SYMBOL_FLAG_NOT_NATURALLY_ALIGNED; }