re PR tree-optimization/71168 (ICE in find_uses_to_rename_use (tree-ssa-loop-manip.c:379))
2016-05-18 Richard Biener <rguenther@suse.de> PR tree-optimization/71168 * tree-loop-distribution.c (distribute_loop): Move *destroy_p initialization earlier. * gcc.dg/torture/pr71168.c: New testcase. From-SVN: r236361
This commit is contained in:
parent
628d13d999
commit
c9326aef96
@ -1,3 +1,9 @@
|
|||||||
|
2016-05-18 Richard Biener <rguenther@suse.de>
|
||||||
|
|
||||||
|
PR tree-optimization/71168
|
||||||
|
* tree-loop-distribution.c (distribute_loop): Move *destroy_p
|
||||||
|
initialization earlier.
|
||||||
|
|
||||||
2016-05-18 James Greenhalgh <james.greenhalgh@arm.com>
|
2016-05-18 James Greenhalgh <james.greenhalgh@arm.com>
|
||||||
|
|
||||||
* config/aarch64/aarch64-simd.md
|
* config/aarch64/aarch64-simd.md
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
2016-05-18 Richard Biener <rguenther@suse.de>
|
||||||
|
|
||||||
|
PR tree-optimization/71168
|
||||||
|
* gcc.dg/torture/pr71168.c: New testcase.
|
||||||
|
|
||||||
2016-05-17 Kugan Vivekanandarajah <kuganv@linaro.org>
|
2016-05-17 Kugan Vivekanandarajah <kuganv@linaro.org>
|
||||||
|
|
||||||
PR middle-end/63586
|
PR middle-end/63586
|
||||||
|
20
gcc/testsuite/gcc.dg/torture/pr71168.c
Normal file
20
gcc/testsuite/gcc.dg/torture/pr71168.c
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
/* { dg-do compile } */
|
||||||
|
|
||||||
|
int a, b, c;
|
||||||
|
long *d;
|
||||||
|
void fn1()
|
||||||
|
{
|
||||||
|
for (; 0 < a;)
|
||||||
|
a++;
|
||||||
|
}
|
||||||
|
void fn3()
|
||||||
|
{
|
||||||
|
for (; c; c++)
|
||||||
|
d[c] = 0;
|
||||||
|
}
|
||||||
|
void fn2()
|
||||||
|
{
|
||||||
|
if (b)
|
||||||
|
fn3();
|
||||||
|
fn1();
|
||||||
|
}
|
@ -1413,6 +1413,7 @@ distribute_loop (struct loop *loop, vec<gimple *> stmts,
|
|||||||
graph *pg = NULL;
|
graph *pg = NULL;
|
||||||
int num_sccs = 1;
|
int num_sccs = 1;
|
||||||
|
|
||||||
|
*destroy_p = false;
|
||||||
*nb_calls = 0;
|
*nb_calls = 0;
|
||||||
auto_vec<loop_p, 3> loop_nest;
|
auto_vec<loop_p, 3> loop_nest;
|
||||||
if (!find_loop_nest (loop, &loop_nest))
|
if (!find_loop_nest (loop, &loop_nest))
|
||||||
@ -1647,7 +1648,6 @@ distribute_loop (struct loop *loop, vec<gimple *> stmts,
|
|||||||
if (dump_file && (dump_flags & TDF_DETAILS))
|
if (dump_file && (dump_flags & TDF_DETAILS))
|
||||||
dump_rdg_partitions (dump_file, partitions);
|
dump_rdg_partitions (dump_file, partitions);
|
||||||
|
|
||||||
*destroy_p = false;
|
|
||||||
FOR_EACH_VEC_ELT (partitions, i, partition)
|
FOR_EACH_VEC_ELT (partitions, i, partition)
|
||||||
{
|
{
|
||||||
if (partition_builtin_p (partition))
|
if (partition_builtin_p (partition))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user