S/390 vector types are only 8 byte aligned.
authorAndreas Krebbel <krebbel@linux.vnet.ibm.com>
Tue, 19 May 2015 17:39:42 +0000 (17:39 +0000)
committerAndreas Krebbel <krebbel@gcc.gnu.org>
Tue, 19 May 2015 17:39:42 +0000 (17:39 +0000)
gcc/testsuite/
* lib/target-supports.exp: Vector do not always have natural
          alignment on s390*.

From-SVN: r223403

gcc/testsuite/ChangeLog
gcc/testsuite/lib/target-supports.exp

index 1b9a956..95ba693 100644 (file)
@@ -1,9 +1,19 @@
+2015-05-19  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>
+
+       * lib/target-supports.exp: Vector do not always have natural
+       alignment on s390*.
+
 2015-05-19  David Sherwood  <david.sherwood@arm.com>
 
        * gcc.dg/loop-invariant.c: New testcase.
 
 2015-05-19  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>
 
+       * lib/target-supports.exp: Vector do not always have natural
+       alignment on s390*.
+
+2015-05-19  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>
+
        * gcc.dg/tree-ssa/gen-vect-11b.c: Disable vector instructions on
        s390*.
        * gcc.dg/tree-ssa/gen-vect-11c.c: Likewise.
index e3f824a..732f718 100644 (file)
@@ -4350,7 +4350,8 @@ proc check_effective_target_vect_natural_alignment { } {
     } else {
         set et_vect_natural_alignment_saved 1
         if { [check_effective_target_arm_eabi]
-            || [istarget nvptx-*-*] } {
+            || [istarget nvptx-*-*]
+            || [istarget s390*-*-*] } {
             set et_vect_natural_alignment_saved 0
         }
     }