Skip pr80170.c for non-ptr32plus targets

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
This commit is contained in:
Senthil Kumar Selvaraj 2017-04-20 05:46:02 +00:00 committed by Senthil Kumar Selvaraj
parent 1aed1a11ae
commit a4bb5c57c9
2 changed files with 5 additions and 0 deletions

View 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

View File

@ -1,5 +1,6 @@
/* { dg-do run } */
/* { dg-options "-fgimple -O2 -ftree-slp-vectorize" } */
/* { dg-require-effective-target ptr32plus } */
struct A
{