This patch re-enables -fdump-passes. It had stopped working because
dump_passes was changed to use the FOR_EACH_DEFINED_FUNCTION iterator,
however, functions are not marked as defined until after dump_passes
is called, in cgraph_analyze_functions. Fixed by iterating over all
functions.
2013-05-29 Teresa Johnson <tejohnson@google.com>
* passes.c (dump_passes): Use FOR_EACH_FUNCTION since
functions are not yet marked as defined.
From-SVN: r199424
+2013-05-29 Teresa Johnson <tejohnson@google.com>
+
+ * passes.c (dump_passes): Use FOR_EACH_FUNCTION since
+ functions are not yet marked as defined.
+
2013-05-29 Michael Meissner <meissner@linux.vnet.ibm.com>
Pat Haugen <pthaugen@us.ibm.com>
Peter Bergner <bergner@vnet.ibm.com>
create_pass_tab();
- FOR_EACH_DEFINED_FUNCTION (n)
+ FOR_EACH_FUNCTION (n)
if (DECL_STRUCT_FUNCTION (n->symbol.decl))
{
node = n;