re PR testsuite/64028 (r211599 caused many vectorizer test failures with -fPIC)
authorJakub Jelinek <jakub@redhat.com>
Mon, 12 Jan 2015 20:30:53 +0000 (21:30 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Mon, 12 Jan 2015 20:30:53 +0000 (21:30 +0100)
PR testsuite/64028
* gcc.dg/vect/no-section-anchors-vect-31.c: Add dg-add-options
bind_pic_locally.
* gcc.dg/vect/no-section-anchors-vect-34.c: Likewise.
* gcc.dg/vect/no-section-anchors-vect-36.c: Likewise.
* gcc.dg/vect/no-section-anchors-vect-64.c: Likewise.
* gcc.dg/vect/no-section-anchors-vect-65.c: Likewise.
* gcc.dg/vect/no-section-anchors-vect-68.c: Likewise.
* gcc.dg/vect/no-section-anchors-vect-69.c: Likewise.
* gcc.dg/vect/slp-25.c: Likewise.
* gcc.dg/vect/vect-109.c: Likewise.
* gcc.dg/vect/vect-13.c: Likewise.
* gcc.dg/vect/vect-17.c: Likewise.
* gcc.dg/vect/vect-18.c: Likewise.
* gcc.dg/vect/vect-19.c: Likewise.
* gcc.dg/vect/vect-20.c: Likewise.
* gcc.dg/vect/vect-21.c: Likewise.
* gcc.dg/vect/vect-22.c: Likewise.
* gcc.dg/vect/vect-27.c: Likewise.
* gcc.dg/vect/vect-29.c: Likewise.
* gcc.dg/vect/vect-2-big-array.c: Likewise.
* gcc.dg/vect/vect-2.c: Likewise.
* gcc.dg/vect/vect-3.c: Likewise.
* gcc.dg/vect/vect-4.c: Likewise.
* gcc.dg/vect/vect-5.c: Likewise.
* gcc.dg/vect/vect-72.c: Likewise.
* gcc.dg/vect/vect-73-big-array.c: Likewise.
* gcc.dg/vect/vect-73.c: Likewise.
* gcc.dg/vect/vect-77-global.c: Likewise.
* gcc.dg/vect/vect-78-global.c: Likewise.
* gcc.dg/vect/vect-7.c: Likewise.
* gcc.dg/vect/vect-86.c: Likewise.
* gcc.dg/vect/vect-align-1.c: Likewise.
* gcc.dg/vect/vect-align-3.c: Likewise.
* gcc.dg/vect/vect-all-big-array.c: Likewise.
* gcc.dg/vect/vect-all.c: Likewise.
* gcc.dg/vect/vect-multitypes-1.c: Likewise.
* gcc.dg/vect/vect-multitypes-4.c: Likewise.
* gcc.dg/vect/vect-peel-3.c: Likewise.
* gcc.dg/vect/vect-peel-4.c: Likewise.
* gcc.dg/vect/wrapv-vect-7.c: Likewise.

From-SVN: r219490

40 files changed:
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/vect/no-section-anchors-vect-31.c
gcc/testsuite/gcc.dg/vect/no-section-anchors-vect-34.c
gcc/testsuite/gcc.dg/vect/no-section-anchors-vect-36.c
gcc/testsuite/gcc.dg/vect/no-section-anchors-vect-64.c
gcc/testsuite/gcc.dg/vect/no-section-anchors-vect-65.c
gcc/testsuite/gcc.dg/vect/no-section-anchors-vect-68.c
gcc/testsuite/gcc.dg/vect/no-section-anchors-vect-69.c
gcc/testsuite/gcc.dg/vect/slp-25.c
gcc/testsuite/gcc.dg/vect/vect-109.c
gcc/testsuite/gcc.dg/vect/vect-13.c
gcc/testsuite/gcc.dg/vect/vect-17.c
gcc/testsuite/gcc.dg/vect/vect-18.c
gcc/testsuite/gcc.dg/vect/vect-19.c
gcc/testsuite/gcc.dg/vect/vect-2-big-array.c
gcc/testsuite/gcc.dg/vect/vect-2.c
gcc/testsuite/gcc.dg/vect/vect-20.c
gcc/testsuite/gcc.dg/vect/vect-21.c
gcc/testsuite/gcc.dg/vect/vect-22.c
gcc/testsuite/gcc.dg/vect/vect-27.c
gcc/testsuite/gcc.dg/vect/vect-29.c
gcc/testsuite/gcc.dg/vect/vect-3.c
gcc/testsuite/gcc.dg/vect/vect-4.c
gcc/testsuite/gcc.dg/vect/vect-5.c
gcc/testsuite/gcc.dg/vect/vect-7.c
gcc/testsuite/gcc.dg/vect/vect-72.c
gcc/testsuite/gcc.dg/vect/vect-73-big-array.c
gcc/testsuite/gcc.dg/vect/vect-73.c
gcc/testsuite/gcc.dg/vect/vect-77-global.c
gcc/testsuite/gcc.dg/vect/vect-78-global.c
gcc/testsuite/gcc.dg/vect/vect-86.c
gcc/testsuite/gcc.dg/vect/vect-align-1.c
gcc/testsuite/gcc.dg/vect/vect-align-3.c
gcc/testsuite/gcc.dg/vect/vect-all-big-array.c
gcc/testsuite/gcc.dg/vect/vect-all.c
gcc/testsuite/gcc.dg/vect/vect-multitypes-1.c
gcc/testsuite/gcc.dg/vect/vect-multitypes-4.c
gcc/testsuite/gcc.dg/vect/vect-peel-3.c
gcc/testsuite/gcc.dg/vect/vect-peel-4.c
gcc/testsuite/gcc.dg/vect/wrapv-vect-7.c

index 3ee00be251cec0945c7bc3165c33e62432dedfbe..95a1a23e1bed38295a4ca1df170dd00ece3137d9 100644 (file)
@@ -1,3 +1,47 @@
+2015-01-12  Jakub Jelinek  <jakub@redhat.com>
+
+       PR testsuite/64028
+       * gcc.dg/vect/no-section-anchors-vect-31.c: Add dg-add-options
+       bind_pic_locally.
+       * gcc.dg/vect/no-section-anchors-vect-34.c: Likewise.
+       * gcc.dg/vect/no-section-anchors-vect-36.c: Likewise.
+       * gcc.dg/vect/no-section-anchors-vect-64.c: Likewise.
+       * gcc.dg/vect/no-section-anchors-vect-65.c: Likewise.
+       * gcc.dg/vect/no-section-anchors-vect-68.c: Likewise.
+       * gcc.dg/vect/no-section-anchors-vect-69.c: Likewise.
+       * gcc.dg/vect/slp-25.c: Likewise.
+       * gcc.dg/vect/vect-109.c: Likewise.
+       * gcc.dg/vect/vect-13.c: Likewise.
+       * gcc.dg/vect/vect-17.c: Likewise.
+       * gcc.dg/vect/vect-18.c: Likewise.
+       * gcc.dg/vect/vect-19.c: Likewise.
+       * gcc.dg/vect/vect-20.c: Likewise.
+       * gcc.dg/vect/vect-21.c: Likewise.
+       * gcc.dg/vect/vect-22.c: Likewise.
+       * gcc.dg/vect/vect-27.c: Likewise.
+       * gcc.dg/vect/vect-29.c: Likewise.
+       * gcc.dg/vect/vect-2-big-array.c: Likewise.
+       * gcc.dg/vect/vect-2.c: Likewise.
+       * gcc.dg/vect/vect-3.c: Likewise.
+       * gcc.dg/vect/vect-4.c: Likewise.
+       * gcc.dg/vect/vect-5.c: Likewise.
+       * gcc.dg/vect/vect-72.c: Likewise.
+       * gcc.dg/vect/vect-73-big-array.c: Likewise.
+       * gcc.dg/vect/vect-73.c: Likewise.
+       * gcc.dg/vect/vect-77-global.c: Likewise.
+       * gcc.dg/vect/vect-78-global.c: Likewise.
+       * gcc.dg/vect/vect-7.c: Likewise.
+       * gcc.dg/vect/vect-86.c: Likewise.
+       * gcc.dg/vect/vect-align-1.c: Likewise.
+       * gcc.dg/vect/vect-align-3.c: Likewise.
+       * gcc.dg/vect/vect-all-big-array.c: Likewise.
+       * gcc.dg/vect/vect-all.c: Likewise.
+       * gcc.dg/vect/vect-multitypes-1.c: Likewise.
+       * gcc.dg/vect/vect-multitypes-4.c: Likewise.
+       * gcc.dg/vect/vect-peel-3.c: Likewise.
+       * gcc.dg/vect/vect-peel-4.c: Likewise.
+       * gcc.dg/vect/wrapv-vect-7.c: Likewise.
+
 2015-01-12  Jeff Law  <law@redhat.com>
 
        PR target/64461
index 350c3f46bea09ad217c6c00a82452d75f0a4540f..79c34220bd43a091b62844aa320c042ebe4631f0 100644 (file)
@@ -1,4 +1,5 @@
 /* { dg-require-effective-target vect_int } */
+/* { dg-add-options bind_pic_locally } */
 
 #include <stdarg.h>
 #include "tree-vect.h"
index 7600edf160d0e166182f5998db9732f9aa81fecf..6ac003207d9b09924a6b27fc0c9f4ebcbd8be90a 100644 (file)
@@ -1,4 +1,5 @@
 /* { dg-require-effective-target vect_int } */
+/* { dg-add-options bind_pic_locally } */
 
 #include <stdarg.h>
 #include "tree-vect.h"
index 1384e8b7cc2bb69e8b67d57881ec3db26800c116..b5d292357502a1a83d931f9d1864ff5baa7b2f63 100644 (file)
@@ -1,4 +1,5 @@
 /* { dg-require-effective-target vect_int } */
+/* { dg-add-options bind_pic_locally } */
 
 #include <stdarg.h>
 #include "tree-vect.h"
index ab2f576774abf4b89a5a2a464f3c2242f2929aa6..119ee1a4bc1e65a81229076f1a15d5cc91e01209 100644 (file)
@@ -1,4 +1,5 @@
 /* { dg-require-effective-target vect_int } */
+/* { dg-add-options bind_pic_locally } */
 
 #include <stdarg.h>
 #include "tree-vect.h"
index b1e74a9f1deedc05ab2d00c3f106539c44197c5e..5ca84dbb7085bb19383594c5d793ac425fdbaa99 100644 (file)
@@ -1,4 +1,5 @@
 /* { dg-require-effective-target vect_int } */
+/* { dg-add-options bind_pic_locally } */
 
 #include <stdarg.h>
 #include "tree-vect.h"
index 7a7765110ecba68114caf26fae3c46e4497b3fc2..d0d2972e51e70fbe53297e0d8a4a21b645c07f2e 100644 (file)
@@ -1,6 +1,6 @@
-/* { dg-require-effective-target vect_int }
-   { dg-skip-if "AArch64 tiny code model does not support programs larger than 1MiB" {aarch64_tiny} {"*"} {""} }
- */
+/* { dg-require-effective-target vect_int } */
+/* { dg-skip-if "AArch64 tiny code model does not support programs larger than 1MiB" {aarch64_tiny} {"*"} {""} } */
+/* { dg-add-options bind_pic_locally } */
 
 #include <stdarg.h>
 #include "tree-vect.h"
index 890d39750eb1eb8db6c0ffd47c1246f53660fc80..cb7dc5c4bba99cab122772c057abca5e0cf33e56 100644 (file)
@@ -1,4 +1,5 @@
 /* { dg-require-effective-target vect_int } */
+/* { dg-add-options bind_pic_locally } */
 
 #include <stdarg.h>
 #include "tree-vect.h"
index e5e5e3bdfa6b172cb6a9c9d1a9f6a04d2e669fe1..21dbde300b9bfc59a4d9a890e9c6f2dae6bdd8ec 100644 (file)
@@ -1,4 +1,5 @@
 /* { dg-require-effective-target vect_int } */
+/* { dg-add-options bind_pic_locally } */
 
 #include <stdarg.h>
 #include "tree-vect.h"
index c671175a20d0ec2447d5e6f1bd9bc8aacc85b6b0..5207b36c68eb367613ab3894c818917f7d68814d 100644 (file)
@@ -1,5 +1,6 @@
 /* { dg-skip-if "" { vect_no_align } } */
 /* { dg-require-effective-target vect_int } */
+/* { dg-add-options bind_pic_locally } */
 
 #include <stdarg.h>
 #include "tree-vect.h"
index ba8665bdc07b7861547c64092d2c624febe5f380..cb2c3cbeef449e7f9a568c24d936dadf6834d1c3 100644 (file)
@@ -1,4 +1,5 @@
 /* { dg-require-effective-target vect_int } */
+/* { dg-add-options bind_pic_locally } */
 
 #include <stdarg.h>
 #include "tree-vect.h"
index 7c675fced229b33f5b194eb40a71e347387f3e31..8040991738f5556f47790707dacaa5f0f351e81f 100644 (file)
@@ -1,4 +1,5 @@
 /* { dg-require-effective-target vect_int } */
+/* { dg-add-options bind_pic_locally } */
   
 #include <stdarg.h>
 #include "tree-vect.h"
index 8a2baab3a8ef8d477623324e95e92b7b96844478..075775c312704604897ba2b03560873262cd4b8d 100644 (file)
@@ -1,4 +1,5 @@
 /* { dg-require-effective-target vect_int } */
+/* { dg-add-options bind_pic_locally } */
   
 #include <stdarg.h>
 #include "tree-vect.h"
index df2166a5835af4887aa57b375d1cc151c06b4e55..b058c821e185c90c5887d11d69f27216378f19e5 100644 (file)
@@ -1,4 +1,5 @@
 /* { dg-require-effective-target vect_int } */
+/* { dg-add-options bind_pic_locally } */
 
 #include <stdarg.h>
 #include "tree-vect.h"
index 25502700452fdee8fef96c787be18d742e1cf4e9..c0966d359f5fa98581e287f431c6496d8f89c53f 100644 (file)
@@ -1,4 +1,5 @@
 /* { dg-require-effective-target vect_int } */
+/* { dg-add-options bind_pic_locally } */
 
 #include <stdarg.h>
 #include "tree-vect.h"
index f01b7b46ddc6c9c11df4a5108d9d72af20659def..a9c1b711021128fb35a623531f7caf9e6a48b504 100644 (file)
@@ -1,4 +1,5 @@
 /* { dg-require-effective-target vect_int } */
+/* { dg-add-options bind_pic_locally } */
 
 #include <stdarg.h>
 #include "tree-vect.h"
index deed2da44721b14b5c4d955ed5476d212587afd2..ffa03da9736888d92eda085b6a62593a71dde079 100644 (file)
@@ -1,4 +1,5 @@
 /* { dg-require-effective-target vect_int } */
+/* { dg-add-options bind_pic_locally } */
   
 #include <stdarg.h>
 #include "tree-vect.h"
index 28fc72ae73773626772eaf736c493bc79a6dc598..c3a7f448571ad29d533257016a5d06678fc7b1fc 100644 (file)
@@ -1,4 +1,5 @@
 /* { dg-require-effective-target vect_int } */
+/* { dg-add-options bind_pic_locally } */
 
 #include <stdarg.h>
 #include "tree-vect.h"
index 369fab112e5a5f902eddc828be8a656e5952672a..e3f23b6eead4e18193726576f3de3091b5766ade 100644 (file)
@@ -1,5 +1,6 @@
 /* { dg-require-effective-target vect_int } */
 /* { dg-require-effective-target vect_float } */
+/* { dg-add-options bind_pic_locally } */
 
 #include <stdarg.h>
 #include "tree-vect.h"
index 4a2da227e3c5804f2273a2680fe733c3753cfaca..ac17d1797f4b914ada4703b9524c40786bec05eb 100644 (file)
@@ -1,4 +1,5 @@
 /* { dg-require-effective-target vect_int } */
+/* { dg-add-options bind_pic_locally } */
 
 #include <stdarg.h>
 #include "tree-vect.h"
index 0ad28488056a65827b6b19ab7127404b8ecec0b5..956db97ebc44d1f246d13750861314c58a42c08d 100644 (file)
@@ -1,4 +1,5 @@
 /* { dg-require-effective-target vect_int } */
+/* { dg-add-options bind_pic_locally } */
 
 #include <stdarg.h>
 #include "tree-vect.h"
index d494deb8507011dbf632e9d58aa97d24c78baaec..b0f90a4211260123c457bde2faeceafbb0db43bb 100644 (file)
@@ -1,5 +1,6 @@
 /* { dg-require-effective-target vect_int } */
 /* { dg-require-effective-target vect_float } */
+/* { dg-add-options bind_pic_locally } */
 
 #include <stdarg.h>
 #include "tree-vect.h"
index d86fea11e7967b2c2e0ed08f599d6b1e0e7b9f0f..c7210623588f39eac2aa8c952e63ffa228450aec 100644 (file)
@@ -1,4 +1,5 @@
 /* { dg-require-effective-target vect_float } */
+/* { dg-add-options bind_pic_locally } */
 
 #include <stdarg.h>
 #include "tree-vect.h"
index b5938ceae8dac2145d87cd594191aa5ac4c09157..ff88424a035399355e6e52136708c2614cfac544 100644 (file)
@@ -1,4 +1,5 @@
 /* { dg-require-effective-target vect_float } */
+/* { dg-add-options bind_pic_locally } */
 
 #include <stdarg.h>
 #include "tree-vect.h"
index 7a6eb6180fc3906d8a925414f7ba0139cd1fe83c..b50b69f769054a0496f622f30d48ccbac6d313fb 100644 (file)
@@ -1,4 +1,5 @@
 /* { dg-require-effective-target vect_int } */
+/* { dg-add-options bind_pic_locally } */
 
 #include <stdarg.h>
 #include "tree-vect.h"
index 67a197519521a8314257a921d2bef183e9dd4072..4410251f4b1bab79a0f016523595b0bef8e2b5ff 100644 (file)
@@ -1,4 +1,5 @@
 /* { dg-require-effective-target vect_int } */
+/* { dg-add-options bind_pic_locally } */
 
 #include <stdarg.h>
 #include "tree-vect.h"
index 5f40055e2c8fe8673023ab756a917b258dfc7035..3bdf815ed7d9a4c6a52bc37735b388c690d77414 100644 (file)
@@ -1,4 +1,5 @@
 /* { dg-require-effective-target vect_int } */
+/* { dg-add-options bind_pic_locally } */
 
 #include <stdarg.h>
 #include "tree-vect.h"
index ee3c6e60e15be974b387d8c101f7ad19a38b209a..86d816773d4a76513a48a502a8e924e666d5c2a2 100644 (file)
@@ -1,4 +1,5 @@
 /* { dg-require-effective-target vect_int } */
+/* { dg-add-options bind_pic_locally } */
 
 #include <stdarg.h>
 #include "tree-vect.h"
index ac29d7d3c441c35e95c48823c265c24b8e5e6db2..ffa7c274f601341f846669a1a575d868055de72b 100644 (file)
@@ -1,4 +1,5 @@
 /* { dg-require-effective-target vect_int } */
+/* { dg-add-options bind_pic_locally } */
 
 #include <stdarg.h>
 #include "tree-vect.h"
index ec6520fd8a04efa03d5f20dc7d8588066be7b462..4faa5ab9242f04b7a77d62894bc7faa4d6dde6a8 100644 (file)
@@ -1,4 +1,5 @@
 /* { dg-require-effective-target vect_int } */
+/* { dg-add-options bind_pic_locally } */
 
 #include <stdarg.h>
 #include "tree-vect.h"
index 334e54ee46ddf88fa4d78e9f79ceb1a6daf5d061..ac38c87897f83be59c6abbaa8e1134b493c9f80e 100644 (file)
@@ -1,4 +1,5 @@
 /* { dg-require-effective-target vect_int } */
+/* { dg-add-options bind_pic_locally } */
 
 #include <stdarg.h>
 #include "tree-vect.h"
index 099b7fea443ac1dad70202e1d7ab261cd1212a84..e63baff4bd1406f6e4410a4abd4301dac67713e3 100644 (file)
@@ -1,4 +1,5 @@
 /* { dg-require-effective-target vect_int } */
+/* { dg-add-options bind_pic_locally } */
 
 #include <stdlib.h>
 #include <stdarg.h>
index a8d3e485e6cc8aa69e6f6f33cfa71aa84f4e8524..65da84d7df8fc4d843821879333ae1a9c42571f1 100644 (file)
@@ -1,5 +1,6 @@
 /* { dg-do compile } */
 /* { dg-require-effective-target vect_int } */
+/* { dg-add-options bind_pic_locally } */
 
 int a[2048];
 
index 16da0764eae3b2a7b42c72bc279dde945f4e3802..c3bf50caf30b955136f6c76c94578f9f725b303d 100644 (file)
@@ -1,5 +1,6 @@
 /* { dg-require-effective-target vect_int } */
 /* { dg-require-effective-target vect_float } */
+/* { dg-add-options bind_pic_locally } */
 
 #include <stdarg.h>
 #include "tree-vect.h"
index 6756283b7d929025207f6df98c1a1207ae067fad..e91e1f925def65241950969a6b9c0e01d987982a 100644 (file)
@@ -1,5 +1,6 @@
 /* { dg-require-effective-target vect_int } */
 /* { dg-require-effective-target vect_float } */
+/* { dg-add-options bind_pic_locally } */
 
 #include <stdarg.h>
 #include "tree-vect.h"
index 7ab21f1df6effb34319d0c912be8e164a147a43d..9f46dd6cbd3a5ffaacc639613482b3ba9911029e 100644 (file)
@@ -1,4 +1,5 @@
 /* { dg-require-effective-target vect_int } */
+/* { dg-add-options bind_pic_locally } */
 
 #include <stdarg.h>
 #include "tree-vect.h"
index ed6ac6eda6b7662fb265dbb852adb10abb9955f2..91b4c59ae86ef6783f8a01c34c85c56e5fede5fe 100644 (file)
@@ -1,4 +1,5 @@
 /* { dg-require-effective-target vect_int } */
+/* { dg-add-options bind_pic_locally } */
 
 #include <stdarg.h>
 #include "tree-vect.h"
index 5aab8053ed657ec6410240485d432f78e12f82b1..c34bbfe7934aee89fd30f6fa0321eb8f55bd72fc 100644 (file)
@@ -1,4 +1,5 @@
 /* { dg-require-effective-target vect_int } */
+/* { dg-add-options bind_pic_locally } */
 
 #include <stdarg.h>
 #include "tree-vect.h"
index dffb858e2b2e662b215ac4a5ecd949c3fbfa89cf..ae99614ea54095fb3f8f19c75417573bc5dea190 100644 (file)
@@ -1,4 +1,5 @@
 /* { dg-require-effective-target vect_int } */
+/* { dg-add-options bind_pic_locally } */
 
 #include <stdarg.h>
 #include "tree-vect.h"
index 5d495440f364c853eeea308293ace82b3c306768..ee7c0b5e7c6c6f02c444ba774693a56b16acb251 100644 (file)
@@ -1,4 +1,5 @@
 /* { dg-require-effective-target vect_int } */
+/* { dg-add-options bind_pic_locally } */
 
 #include <stdarg.h>
 #include "tree-vect.h"