diff options
author | Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com> | 2017-04-20 05:46:02 +0000 |
---|---|---|
committer | Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com> | 2017-04-20 05:46:02 +0000 |
commit | 39ecb2afc2e6319a91d672abc479cd7030c1b636 (patch) | |
tree | 6731fc97fa96da5005598951af5b49d9b6b5797d | |
parent | ef9fa6243cca0f7d6fbe0fc4d7fae7027dcae25f (diff) |
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.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@247011 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | gcc/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/pr80170.c | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 7c306a683e9..780adbcbfc1 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -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 diff --git a/gcc/testsuite/gcc.dg/pr80170.c b/gcc/testsuite/gcc.dg/pr80170.c index 5ffd866c588..def051a59df 100644 --- a/gcc/testsuite/gcc.dg/pr80170.c +++ b/gcc/testsuite/gcc.dg/pr80170.c @@ -1,5 +1,6 @@ /* { dg-do run } */ /* { dg-options "-fgimple -O2 -ftree-slp-vectorize" } */ +/* { dg-require-effective-target ptr32plus } */ struct A { |