re PR tree-optimization/85935 ([graphite] ICE in extract_affine, at graphite-sese...
authorRichard Biener <rguenther@suse.de>
Thu, 7 Jun 2018 07:01:56 +0000 (07:01 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 7 Jun 2018 07:01:56 +0000 (07:01 +0000)
commitb2bf82589273884743923aa780c9479965609070
tree38d881df90297448c2773ed6e77dea88e83b2378
parent7a205f505f4dc6fd94495e856442e6808c735a0b
re PR tree-optimization/85935 ([graphite] ICE in extract_affine, at graphite-sese-to-poly.c:287)

2018-06-07  Richard Biener  <rguenther@suse.de>

PR tree-optimization/85935
* graphite-scop-detection.c (find_params_in_bb): Analyze
condition operands with respect to the correct loop.  Assert
the analysis doesn't fail.

* gcc.dg/graphite/pr85935.c: New testcase.

From-SVN: r261263
gcc/ChangeLog
gcc/graphite-scop-detection.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/graphite/pr85935.c [new file with mode: 0644]