diff options
author | Richard Biener <rguenther@suse.de> | 2013-01-28 14:45:46 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2013-01-28 14:45:46 +0000 |
commit | b9fc04974250dfa6e2155fc38dcbca39e162b5c7 (patch) | |
tree | c734aa313961c4f7ad6438ad86a0d1f80b7c005d /gcc/tree-inline.c | |
parent | 0bfbca5868fae1912db33ae4ab341d6e08bd68b4 (diff) | |
download | gcc-b9fc04974250dfa6e2155fc38dcbca39e162b5c7.zip gcc-b9fc04974250dfa6e2155fc38dcbca39e162b5c7.tar.gz gcc-b9fc04974250dfa6e2155fc38dcbca39e162b5c7.tar.bz2 |
re PR tree-optimization/56034 (ICE: verify_gimple failed (invalid PHI argument) with -ftree-loop-distribution)
2013-01-28 Richard Biener <rguenther@suse.de>
PR tree-optimization/56034
* tree-loop-distribution.c (enum partition_kind): Add
PKIND_REDUCTION.
(partition_builtin_p): Adjust.
(generate_code_for_partition): Handle PKIND_REDUCTION. Assert
it is the last partition.
(rdg_flag_uses): Check SSA_NAME_IS_DEFAULT_DEF before looking
up the vertex for the definition.
(classify_partition): Classify whether a partition is a
PKIND_REDUCTION, thus has uses outside of the loop.
(ldist_gen): Inherit PKIND_REDUCTION when merging partitions.
Merge all PKIND_REDUCTION partitions into the last partition.
(tree_loop_distribution): Seed partitions from reductions as well.
* gcc.dg/torture/pr56034.c: New testcase.
From-SVN: r195508
Diffstat (limited to 'gcc/tree-inline.c')
0 files changed, 0 insertions, 0 deletions