Commit 1bb940da by Bill Schmidt Committed by William Schmidt

re PR testsuite/52614 (Test failures in gcc.dg/vect: vectorizing unaligned access)

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
parent 14f60a5a
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> 2012-04-04 Jason Merrill <jason@redhat.com>
PR c++/52845 PR c++/52845
......
...@@ -34,7 +34,7 @@ if ![is-effective-target powerpc_altivec_ok] { ...@@ -34,7 +34,7 @@ if ![is-effective-target powerpc_altivec_ok] {
set DEFAULT_VECTCFLAGS "" set DEFAULT_VECTCFLAGS ""
# These flags are used for all targets. # 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 # If the target system supports vector instructions, the default action
# for a test is 'run', otherwise it's 'compile'. Save current default. # for a test is 'run', otherwise it's 'compile'. Save current default.
......
...@@ -40,7 +40,7 @@ if ![check_vect_support_and_set_flags] { ...@@ -40,7 +40,7 @@ if ![check_vect_support_and_set_flags] {
} }
# These flags are used for all targets. # 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'. # Initialize `dg'.
dg-init dg-init
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment