From: Richard Biener Date: Fri, 6 Oct 2017 08:20:58 +0000 (+0000) Subject: re PR tree-optimization/82421 ([graphite] ICE: tree check: expected ssa_name, have... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6c7e0f7a607f207c8227f2393a16999557c1d674;p=gcc.git re PR tree-optimization/82421 ([graphite] ICE: tree check: expected ssa_name, have integer_cst in get_rename, at graphite-isl-ast-to-gimple.c:1127) 2017-10-06 Richard Biener PR tree-optimization/82421 * gcc.dg/graphite/pr82421.c: New testcase. From-SVN: r253478 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 1021c6ab563..10ec90e807d 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2017-10-06 Richard Biener + + PR tree-optimization/82421 + * gcc.dg/graphite/pr82421.c: New testcase. + 2017-10-06 Jakub Jelinek PR c/82437 diff --git a/gcc/testsuite/gcc.dg/graphite/pr82421.c b/gcc/testsuite/gcc.dg/graphite/pr82421.c new file mode 100644 index 00000000000..5da16367980 --- /dev/null +++ b/gcc/testsuite/gcc.dg/graphite/pr82421.c @@ -0,0 +1,21 @@ +/* { dg-do compile } */ +/* { dg-options "-O -floop-nest-optimize" } */ + +int pc; + +void +qy (int l9) +{ + int tw = 4; + int fb[tw]; + + while (l9 < 1) + { + int dr; + + pc = fb[2]; + for (dr = 0; dr < tw; ++dr) + fb[dr] = 0; + ++l9; + } +}