From: Richard Biener Date: Fri, 1 Feb 2019 09:17:14 +0000 (+0000) Subject: re PR tree-optimization/85497 ([graphite] ICE in set_codegen_error, at graphite-isl... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3c54b7d606f5c09a691d7a3d8f77d0f86910c67c;p=gcc.git re PR tree-optimization/85497 ([graphite] ICE in set_codegen_error, at graphite-isl-ast-to-gimple.c:206) 2019-02-01 Richard Biener PR tree-optimization/85497 * gcc.dg/graphite/pr85497.c: New testcase. From-SVN: r268447 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 73987384590..ac31d7d551b 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2019-02-01 Richard Biener + + PR tree-optimization/85497 + * gcc.dg/graphite/pr85497.c: New testcase. + 2019-02-01 Richard Biener PR testsuite/87451 diff --git a/gcc/testsuite/gcc.dg/graphite/pr85497.c b/gcc/testsuite/gcc.dg/graphite/pr85497.c new file mode 100644 index 00000000000..9871b9b74a4 --- /dev/null +++ b/gcc/testsuite/gcc.dg/graphite/pr85497.c @@ -0,0 +1,18 @@ +/* { dg-do compile } */ +/* { dg-options "-O1 -floop-parallelize-all -fno-tree-loop-im --param scev-max-expr-size=1" } */ + +int au; + +void +a8 (int k7) +{ + int xo; + + for (xo = 0; xo < 2; ++xo) + { + int dd; + + for (dd = 0; dd < 2; ++dd) + au = !!k7 ? xo : 0; + } +}