Commit 1388a0e3 by Teresa Johnson Committed by Teresa Johnson

This patch re-enables -fdump-passes.

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
parent a5965b52
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>
......
......@@ -718,7 +718,7 @@ dump_passes (void)
create_pass_tab();
FOR_EACH_DEFINED_FUNCTION (n)
FOR_EACH_FUNCTION (n)
if (DECL_STRUCT_FUNCTION (n->symbol.decl))
{
node = n;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment