From: Richard Biener Date: Tue, 5 Nov 2013 15:09:40 +0000 (+0000) Subject: re PR ipa/58492 (ICE: verify_flow_info failed) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9c39fca1bf518dd6b0642811c2571f4cdf9d02d8;p=gcc.git re PR ipa/58492 (ICE: verify_flow_info failed) 2013-11-05 Richard Biener PR ipa/58492 * passes.def (all_passes): Start with pass_fixup_cfg again. * gcc.dg/ipa/pr58492.c: New testcase. From-SVN: r204399 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ce16f50cf2f..9c6d309f87d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2013-11-05 Richard Biener + + PR ipa/58492 + * passes.def (all_passes): Start with pass_fixup_cfg again. + 2013-11-05 Richard Biener PR tree-optimization/58955 diff --git a/gcc/passes.def b/gcc/passes.def index 31ce11381d8..56949e83f2d 100644 --- a/gcc/passes.def +++ b/gcc/passes.def @@ -126,6 +126,7 @@ along with GCC; see the file COPYING3. If not see /* These passes are run after IPA passes on every function that is being output to the assembler file. */ INSERT_PASSES_AFTER (all_passes) + NEXT_PASS (pass_fixup_cfg); NEXT_PASS (pass_lower_eh_dispatch); NEXT_PASS (pass_all_optimizations); PUSH_INSERT_PASSES_WITHIN (pass_all_optimizations) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 07e418d4ff1..6a7f3d1a7d0 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2013-11-05 Richard Biener + + PR ipa/58492 + * gcc.dg/ipa/pr58492.c: New testcase. + 2013-11-05 Richard Biener PR tree-optimization/58955 diff --git a/gcc/testsuite/gcc.dg/ipa/pr58492.c b/gcc/testsuite/gcc.dg/ipa/pr58492.c new file mode 100644 index 00000000000..79958d5640a --- /dev/null +++ b/gcc/testsuite/gcc.dg/ipa/pr58492.c @@ -0,0 +1,7 @@ +/* { dg-do compile } */ +/* { dg-options "-O3 -fipa-pta" } */ + +void f(int p, short q) +{ + f(0, 0); +}