]> gcc.gnu.org Git - gcc.git/commitdiff
s390.c (s390_encode_section_info): Handle BLKmode properly.
authorAndreas Krebbel <Andreas.Krebbel@de.ibm.com>
Tue, 13 Oct 2009 10:50:41 +0000 (10:50 +0000)
committerAndreas Krebbel <krebbel@gcc.gnu.org>
Tue, 13 Oct 2009 10:50:41 +0000 (10:50 +0000)
2009-10-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

* config/s390/s390.c (s390_encode_section_info): Handle BLKmode
properly.

From-SVN: r152700

gcc/ChangeLog
gcc/config/s390/s390.c

index 400efcaf460c85ea340b4debbcea3aaaabc2f8fa..495e1920259086db09b8a0dc761978f7d5c80061 100644 (file)
@@ -1,3 +1,8 @@
+2009-10-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
+
+       * config/s390/s390.c (s390_encode_section_info): Handle BLKmode
+       properly.
+
 2009-10-12  Alexandre Oliva  <aoliva@redhat.com>
 
        PR debug/41343
index e439b01709f3e0824fc993ba04f4744c879d2934..3be52d0d9a449d1b79e354e4815d93b414061c91 100644 (file)
@@ -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;
 }
This page took 0.142175 seconds and 5 git commands to generate.