re PR tree-optimization/54669 (verify_flow_info failure after loop unrolling with -fnon-call-exceptions)
PR tree-optimization/54669 * tree-ssa-loop-ivcanon.c (propagate_into_all_uses): Invoke maybe_clean_or_replace_eh_stmt on the modified use statements. From-SVN: r191654
This commit is contained in:
parent
2d411f1d8e
commit
ee3de2b8b2
4 changed files with 34 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
|||
2012-09-23 Eric Botcazou <ebotcazou@adacore.com>
|
||||
|
||||
PR tree-optimization/54669
|
||||
* tree-ssa-loop-ivcanon.c (propagate_into_all_uses): Invoke
|
||||
maybe_clean_or_replace_eh_stmt on the modified use statements.
|
||||
|
||||
2012-09-23 Marc Glisse <marc.glisse@inria.fr>
|
||||
|
||||
* expr.c (do_store_flag): Remove duplicated code.
|
||||
|
|
|
@ -1,10 +1,14 @@
|
|||
2012-09-23 Eric Botcazou <ebotcazou@adacore.com>
|
||||
|
||||
* gcc.dg/pr54669.c: New test.
|
||||
|
||||
2012-09-23 Paolo Carlini <paolo.carlini@oracle.com>
|
||||
Dominique Dhumieres <dominiq@lps.ens.fr>
|
||||
|
||||
PR testsuite/54677
|
||||
* g++.dg/cpp0x/decltype32.C: Add -ftemplate-depth=10.
|
||||
|
||||
2012-09-2323 Tobias Burnus <burnus@net-b.de>
|
||||
2012-09-23 Tobias Burnus <burnus@net-b.de>
|
||||
|
||||
PR fortran/54618
|
||||
* gfortran.dg/class_array_14.f90: New.
|
||||
|
|
22
gcc/testsuite/gcc.dg/pr54669.c
Normal file
22
gcc/testsuite/gcc.dg/pr54669.c
Normal file
|
@ -0,0 +1,22 @@
|
|||
/* PR tree-optimization/54669 */
|
||||
/* Testcase by Zdenek Sojka <zsojka@seznam.cz> */
|
||||
|
||||
/* { dg-compile } */
|
||||
/* { dg-options "-O2 -fexceptions -fnon-call-exceptions" } */
|
||||
|
||||
int a[10];
|
||||
|
||||
void
|
||||
foo (void)
|
||||
{
|
||||
int x;
|
||||
int i;
|
||||
for (i = 0; i < 1;)
|
||||
{
|
||||
int b[3];
|
||||
for (i = 0; i < 1; i++)
|
||||
b[i] = a[i];
|
||||
if (&x)
|
||||
a[0] = b[0];
|
||||
}
|
||||
}
|
|
@ -531,6 +531,7 @@ propagate_into_all_uses (tree ssa_name, tree val)
|
|||
|
||||
fold_stmt_inplace (&use_stmt_gsi);
|
||||
update_stmt (use_stmt);
|
||||
maybe_clean_or_replace_eh_stmt (use_stmt, use_stmt);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue