diff options
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/ipa-reference.c | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 9b763f8..814a79e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2008-09-17 Art Haas <ahaas@impactweather.com> + + * ipa-reference.c (analyze_function): Declare step only if + ENABLE_CHECKING is defined. + 2008-09-17 Jan Hubicka <jh@suse.cz> PR c++/18071 diff --git a/gcc/ipa-reference.c b/gcc/ipa-reference.c index 861b153..6c76ccc 100644 --- a/gcc/ipa-reference.c +++ b/gcc/ipa-reference.c @@ -674,7 +674,9 @@ analyze_function (struct cgraph_node *fn) tree decl = fn->decl; struct function *this_cfun = DECL_STRUCT_FUNCTION (decl); basic_block this_block; +#ifdef ENABLE_CHECKING tree step; +#endif if (dump_file) fprintf (dump_file, "\n local analysis of %s\n", cgraph_node_name (fn)); |