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
This commit is contained in:
Andreas Tobler 2006-12-16 22:49:05 +00:00 committed by Andreas Tobler
parent a5093353f1
commit 582fd9ced4
2 changed files with 6 additions and 0 deletions

View file

@ -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.

View file

@ -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. */