re PR ipa/58492 (ICE: verify_flow_info failed)
authorRichard Biener <rguenther@suse.de>
Tue, 5 Nov 2013 15:09:40 +0000 (15:09 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 5 Nov 2013 15:09:40 +0000 (15:09 +0000)
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

gcc/ChangeLog
gcc/passes.def
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/ipa/pr58492.c [new file with mode: 0644]

index ce16f50cf2ff7803a4a0d2fddf9969d4b527486c..9c6d309f87d74ff95c54e4dddf6b5537b93f6f61 100644 (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
index 31ce11381d8703cbebc8876f8ade8917bfdf2d64..56949e83f2dfe53706b9594749ef64d2f1940368 100644 (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)
index 07e418d4ff197f230acb9005d4c3a9f055fe9389..6a7f3d1a7d0ce50e658c99278d850ce42ab84f43 100644 (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
diff --git a/gcc/testsuite/gcc.dg/ipa/pr58492.c b/gcc/testsuite/gcc.dg/ipa/pr58492.c
new file mode 100644 (file)
index 0000000..79958d5
--- /dev/null
@@ -0,0 +1,7 @@
+/* { dg-do compile } */
+/* { dg-options "-O3 -fipa-pta" } */
+
+void f(int p, short q)
+{
+  f(0, 0);
+}