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 7c306a6..780adbc 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 5ffd866..def051a 100644 (file)
@@ -1,5 +1,6 @@
 /* { dg-do run } */
 /* { dg-options "-fgimple -O2 -ftree-slp-vectorize" } */
+/* { dg-require-effective-target ptr32plus } */
 
 struct  A
 {