]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR testsuite/52614 (Test failures in gcc.dg/vect: vectorizing unaligned access)
authorBill Schmidt <wschmidt@linux.vnet.ibm.com>
Thu, 5 Apr 2012 12:11:50 +0000 (12:11 +0000)
committerWilliam Schmidt <wschmidt@gcc.gnu.org>
Thu, 5 Apr 2012 12:11:50 +0000 (12:11 +0000)
gcc/testsuite:

2012-04-05  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
    Dominique D'Humieures  <dominiq@lps.ens.fr>

PR testsuite/52614
* gcc.dg/vect/vect.exp: Use -fno-common on all targets.
* gcc.dg/vect/costmodel/ppc/ppc-costmodel-vect.exp: Likewise.

Co-Authored-By: Dominique d'Humieres <dominiq@lps.ens.fr>
From-SVN: r186163

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/vect/costmodel/ppc/ppc-costmodel-vect.exp
gcc/testsuite/gcc.dg/vect/vect.exp

index 92c18df0e4c947f2e0b5054f62366d2c4c077f39..c4e4ecba51c88e0ee586be0d5e4e9ebcdf6c74d6 100644 (file)
@@ -1,3 +1,10 @@
+2012-04-05  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
+           Dominique D'Humieures  <dominiq@lps.ens.fr>
+
+       PR testsuite/52614
+       * gcc.dg/vect/vect.exp: Use -fno-common on all targets.
+       * gcc.dg/vect/costmodel/ppc/ppc-costmodel-vect.exp: Likewise.
+
 2012-04-04  Jason Merrill  <jason@redhat.com>
 
        PR c++/52845
index 280b55668c6e5fe619454004ec4f9ea2d6df832c..e19120fec1d5b65cc2e5dad3cabd960e9c0dddfd 100644 (file)
@@ -34,7 +34,7 @@ if ![is-effective-target powerpc_altivec_ok] {
 set DEFAULT_VECTCFLAGS ""
 
 # These flags are used for all targets.
-lappend DEFAULT_VECTCFLAGS "-O2" "-ftree-vectorize" "-fvect-cost-model"
+lappend DEFAULT_VECTCFLAGS "-O2" "-ftree-vectorize" "-fvect-cost-model" "-fno-common"
 
 # If the target system supports vector instructions, the default action
 # for a test is 'run', otherwise it's 'compile'.  Save current default.
index b6d4a331133e6607f60128c0086e72790c37ff41..426516325b2a939d0affdc514ae09202dde26f73 100644 (file)
@@ -40,7 +40,7 @@ if ![check_vect_support_and_set_flags] {
 }
 
 # These flags are used for all targets.
-lappend DEFAULT_VECTCFLAGS "-ftree-vectorize" "-fno-vect-cost-model"
+lappend DEFAULT_VECTCFLAGS "-ftree-vectorize" "-fno-vect-cost-model" "-fno-common"
 
 # Initialize `dg'.
 dg-init