Hi, The below patch skips gcc.dg/pr80170.c for targets with pointer size less than 32. The testcase uses pointer offsets that are 32 bit or higher, and this ends up triggering an ICE because a ptrofftype_p assert fires for non-ptr32 plus targets.
Committed as obvious. Regards Senthil gcc/testsuite/ChangeLog 2017-04-19 Senthil Kumar Selvaraj <senthil_kumar.selva...@atmel.com> * gcc.dg/pr80170.c: Require ptr32plus. Index: gcc.dg/pr80170.c =================================================================== --- gcc.dg/pr80170.c (revision 247010) +++ gcc.dg/pr80170.c (working copy) @@ -1,5 +1,6 @@ /* { dg-do run } */ /* { dg-options "-fgimple -O2 -ftree-slp-vectorize" } */ +/* { dg-require-effective-target ptr32plus } * struct A {