diff options
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/passes.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c40662a22c8..7c852915a6f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +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> diff --git a/gcc/passes.c b/gcc/passes.c index 656cf716b6c..feaf3226fac 100644 --- a/gcc/passes.c +++ b/gcc/passes.c @@ -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; |