re PR ipa/58492 (ICE: verify_flow_info failed)

2013-11-05  Richard Biener  <rguenther@suse.de>

	PR ipa/58492
	* passes.def (all_passes): Start with pass_fixup_cfg again.

	* gcc.dg/ipa/pr58492.c: New testcase.

From-SVN: r204399
This commit is contained in:
Richard Biener 2013-11-05 15:09:40 +00:00 committed by Richard Biener
parent d8f4f4db4b
commit 9c39fca1bf
4 changed files with 18 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2013-11-05 Richard Biener <rguenther@suse.de>
PR ipa/58492
* passes.def (all_passes): Start with pass_fixup_cfg again.
2013-11-05 Richard Biener <rguenther@suse.de>
PR tree-optimization/58955

View File

@ -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)

View File

@ -1,3 +1,8 @@
2013-11-05 Richard Biener <rguenther@suse.de>
PR ipa/58492
* gcc.dg/ipa/pr58492.c: New testcase.
2013-11-05 Richard Biener <rguenther@suse.de>
PR tree-optimization/58955

View File

@ -0,0 +1,7 @@
/* { dg-do compile } */
/* { dg-options "-O3 -fipa-pta" } */
void f(int p, short q)
{
f(0, 0);
}