diff options
| -rw-r--r-- | gcc/ChangeLog | 4 | ||||
| -rw-r--r-- | gcc/passes.c | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b667dd1..4dfea22 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2006-12-16 Andreas Tobler <a.tobler@schweiz.org> + + * passes.c (verify_curr_properties): Define only for ENABLE_CHECKING. + 2006-12-16 Jan Hubicka <jh@suse.cz> * omp-low.c (expand_omp_parallel): Set function properties. 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. */ |
