diff options
author | Art Haas <ahaas@impactweather.com> | 2008-09-17 15:46:03 +0000 |
---|---|---|
committer | H.J. Lu <hjl@gcc.gnu.org> | 2008-09-17 08:46:03 -0700 |
commit | 71b10713042adcba36768039d3f0d5231b34f90a (patch) | |
tree | 0799668c9cffc20b27350596d33a010cf8439c8d | |
parent | 0494626aae628174dd5d510d25a1fabac300387a (diff) | |
download | gcc-71b10713042adcba36768039d3f0d5231b34f90a.zip gcc-71b10713042adcba36768039d3f0d5231b34f90a.tar.gz gcc-71b10713042adcba36768039d3f0d5231b34f90a.tar.bz2 |
ipa-reference.c (analyze_function): Declare step only if ENABLE_CHECKING is defined.
2008-09-17 Art Haas <ahaas@impactweather.com>
* ipa-reference.c (analyze_function): Declare step only if
ENABLE_CHECKING is defined.
From-SVN: r140420
-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)); |