PR middle-end/37858
* passes.c (execute_one_pass): Don't look at cfun->curr_properties
for ipa and simple ipa passes.
* gcc.dg/pr37858.c: New test.
From-SVN: r141545
+2008-11-03 Jakub Jelinek <jakub@redhat.com>
+
+ PR middle-end/37858
+ * passes.c (execute_one_pass): Don't look at cfun->curr_properties
+ for ipa and simple ipa passes.
+
2008-11-02 Richard Guenther <rguenther@suse.de>
PR tree-optimization/37542
if (initializing_dump
&& dump_file
&& graph_dump_format != no_graph
+ && cfun
&& (cfun->curr_properties & (PROP_cfg | PROP_rtl))
== (PROP_cfg | PROP_rtl))
{
+2008-11-03 Jakub Jelinek <jakub@redhat.com>
+
+ PR middle-end/37858
+ * gcc.dg/pr37858.c: New test.
+
2008-11-03 Tobias Burnus <burnus@net-b.de>
PR fortran/37821
--- /dev/null
+/* PR middle-end/37858 */
+/* { dg-do compile } */
+/* { dg-options "-O2 -fdump-ipa-early_local_cleanups -dv" } */
+
+int
+main (void)
+{
+ return 0;
+}
+
+/* { dg-final { cleanup-ipa-dump "early_local_cleanups" } } */