Commit 144a822f by Richard Biener Committed by Richard Biener

re PR tree-optimization/84650 ([graphite] ICE: Segmentation fault (in create_new_iv))

2018-03-05  Richard Biener  <rguenther@suse.de>

	PR tree-optimization/84650
	* tree-ssa-loop-im.c (pass_lim::execute): Reset the SCEV cache
	if executed in the loop pipeline.

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

From-SVN: r258242
parent a0445a5f
2018-03-05 Richard Biener <rguenther@suse.de>
PR tree-optimization/84650
* tree-ssa-loop-im.c (pass_lim::execute): Reset the SCEV cache
if executed in the loop pipeline.
2018-03-05 Sandra Loosemore <sandra@codesourcery.com>
* doc/configfiles.texi (Configuration Files): Move info about
......
2018-03-05 Richard Biener <rguenther@suse.de>
PR tree-optimization/84650
* gcc.dg/graphite/pr84650.c: New testcase.
2018-03-05 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/82022
......
/* { dg-do compile } */
/* { dg-options "-O2 -fgraphite-identity -fno-tree-copy-prop --param lim-expensive=3" } */
unsigned int dj;
void
np (void)
{
const unsigned int uw = 2;
unsigned int eu;
for (eu = 0; eu < uw; ++eu)
{
for (dj = 0; dj < uw; ++dj)
;
eu -= !!(dj - uw - 1);
}
}
......@@ -2616,6 +2616,8 @@ pass_lim::execute (function *fun)
if (!in_loop_pipeline)
loop_optimizer_finalize ();
else
scev_reset ();
return todo;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment