diff options
author | Andreas Tobler <a.tobler@schweiz.org> | 2006-12-16 22:49:05 +0000 |
---|---|---|
committer | Andreas Tobler <andreast@gcc.gnu.org> | 2006-12-16 23:49:05 +0100 |
commit | 582fd9ced4bb29a5d455e9fac06b939903db5095 (patch) | |
tree | 425cae3aa26f735c67f5380c9e6e59565acab574 /gcc/passes.c | |
parent | a5093353f1d469f42be7672f4e857bc36d09936d (diff) | |
download | gcc-582fd9ced4bb29a5d455e9fac06b939903db5095.zip gcc-582fd9ced4bb29a5d455e9fac06b939903db5095.tar.gz gcc-582fd9ced4bb29a5d455e9fac06b939903db5095.tar.bz2 |
passes.c (verify_curr_properties): Define only for ENABLE_CHECKING.
2006-12-16 Andreas Tobler <a.tobler@schweiz.org>
* passes.c (verify_curr_properties): Define only for ENABLE_CHECKING.
From-SVN: r119971
Diffstat (limited to 'gcc/passes.c')
-rw-r--r-- | gcc/passes.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/passes.c b/gcc/passes.c index e4bac7a..38c95cd 100644 --- a/gcc/passes.c +++ b/gcc/passes.c @@ -849,12 +849,14 @@ clear_last_verified (void *data ATTRIBUTE_UNUSED) /* Helper function. Verify that the properties has been turn into the properties expected by the pass. */ +#ifdef ENABLE_CHECKING static void verify_curr_properties (void *data) { unsigned int props = (size_t)data; gcc_assert ((cfun->curr_properties & props) == props); } +#endif /* After executing the pass, apply expected changes to the function properties. */ |