re PR tree-optimization/29290 (SPEC CPU2000 178.galgel ICE using -O3 -ftree-loop-linear)
PR tree-optimization/29290 * tree-loop-linear.c (linear_transform_loops): Bail if loop_nest has multiple exits. * gfortran.dg/loop_nest_1.f90: New test. From-SVN: r117484
This commit is contained in:
parent
c1a46941d4
commit
9731a71c57
4 changed files with 18 additions and 2 deletions
|
@ -1,5 +1,9 @@
|
|||
2006-10-06 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR tree-optimization/29290
|
||||
* tree-loop-linear.c (linear_transform_loops): Bail if loop_nest has
|
||||
multiple exits.
|
||||
|
||||
PR target/29198
|
||||
* config/i386/i386.c (legitimize_pic_address): Reject TLS symbols.
|
||||
* config/i386/predicates.md (local_symbolic_operand): Likewise.
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
2006-10-06 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR tree-optimization/29290
|
||||
* gfortran.dg/loop_nest_1.f90: New test.
|
||||
|
||||
PR target/29198
|
||||
* gcc.dg/tls/opt-12.c: New test.
|
||||
|
||||
|
|
9
gcc/testsuite/gfortran.dg/loop_nest_1.f90
Normal file
9
gcc/testsuite/gfortran.dg/loop_nest_1.f90
Normal file
|
@ -0,0 +1,9 @@
|
|||
! PR tree-optimization/29290
|
||||
! { dg-do compile }
|
||||
! { dg-options "-O3 -ftree-loop-linear" }
|
||||
|
||||
subroutine pr29290 (a, b, c, d)
|
||||
integer c, d
|
||||
real*8 a(c,c), b(c,c)
|
||||
a(1:d,1:d) = b(1:d,1:d)
|
||||
end
|
|
@ -265,12 +265,12 @@ linear_transform_loops (struct loops *loops)
|
|||
{
|
||||
...
|
||||
}
|
||||
for (j = 0; j < 50; j++)
|
||||
for (j = 0; j < 50; j++)
|
||||
{
|
||||
...
|
||||
}
|
||||
} */
|
||||
if (!loop_nest || !loop_nest->inner)
|
||||
if (!loop_nest || !loop_nest->inner || !loop_nest->single_exit)
|
||||
continue;
|
||||
VEC_truncate (tree, oldivs, 0);
|
||||
VEC_truncate (tree, invariants, 0);
|
||||
|
|
Loading…
Add table
Reference in a new issue