Skip pr80170.c for non-ptr32plus targets
authorSenthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
Thu, 20 Apr 2017 05:46:02 +0000 (05:46 +0000)
committerSenthil Kumar Selvaraj <saaadhu@gcc.gnu.org>
Thu, 20 Apr 2017 05:46:02 +0000 (05:46 +0000)
The testcase uses 32 bit or bigger pointer offsets, and
that triggers an ptrofftype_p assert in tree.c.

gcc/testsuite

2017-04-19  Senthil Kumar Selvaraj  <senthil_kumar.selvaraj@atmel.com>

* gcc.dg/pr80170.c: Require ptr32plus.

From-SVN: r247011

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr80170.c

index 7c306a683e9c74326a64e7bb7fe9a35b994be7a2..780adbcbfc1baeaca77dcdfa9195ef66e7bb6cd0 100644 (file)
@@ -1,3 +1,7 @@
+2017-04-19  Senthil Kumar Selvaraj  <senthil_kumar.selvaraj@atmel.com>
+
+       * gcc.dg/pr80170.c: Require ptr32plus.
+
 2017-04-19  Eric Botcazou  <ebotcazou@adacore.com>
 
        PR tree-optimization/80426
index 5ffd866c5883c2d887d37c6e91709683d16a31be..def051a59df9b7e7a37c8fe8d1a2a6269909d944 100644 (file)
@@ -1,5 +1,6 @@
 /* { dg-do run } */
 /* { dg-options "-fgimple -O2 -ftree-slp-vectorize" } */
+/* { dg-require-effective-target ptr32plus } */
 
 struct  A
 {