diff options
author | Richard Biener <rguenther@suse.de> | 2016-11-11 12:54:25 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2016-11-11 12:54:25 +0000 |
commit | 4b7e0c7668b2893a800289164f2c6b575a3e00da (patch) | |
tree | c3442494d69e70cb0f6bc74afd30646f8f842e9c /gcc/graphite-isl-ast-to-gimple.c | |
parent | d07f8c591acf1ed2f99873464093b8729a8da0f2 (diff) | |
download | gcc-4b7e0c7668b2893a800289164f2c6b575a3e00da.zip gcc-4b7e0c7668b2893a800289164f2c6b575a3e00da.tar.gz gcc-4b7e0c7668b2893a800289164f2c6b575a3e00da.tar.bz2 |
re PR tree-optimization/71575 ([graphite] internal compiler error: in copy_cond_phi_nodes, at graphite-isl-ast-to-gimple.c:2500)
2016-11-11 Richard Biener <rguenther@suse.de>
PR tree-optimization/71575
* graphite-isl-ast-to-gimple.c (copy_cond_phi_nodes): Remove
bogus assert.
* gcc.dg/graphite/pr71575-1.c: New testcase.
* gcc.dg/graphite/pr71575-2.c: Likewise.
From-SVN: r242069
Diffstat (limited to 'gcc/graphite-isl-ast-to-gimple.c')
-rw-r--r-- | gcc/graphite-isl-ast-to-gimple.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/gcc/graphite-isl-ast-to-gimple.c b/gcc/graphite-isl-ast-to-gimple.c index 0eb564a..209eada 100644 --- a/gcc/graphite-isl-ast-to-gimple.c +++ b/gcc/graphite-isl-ast-to-gimple.c @@ -2505,9 +2505,6 @@ copy_cond_phi_nodes (basic_block bb, basic_block new_bb, vec<tree> iv_map) tree res = gimple_phi_result (phi); if (virtual_operand_p (res)) continue; - if (is_gimple_reg (res) && scev_analyzable_p (res, region->region)) - /* Cond phi nodes should not be scev_analyzable_p. */ - gcc_unreachable (); gphi *new_phi = create_phi_node (SSA_NAME_VAR (res), new_bb); tree new_res = create_new_def_for (res, new_phi, |