Commit 582fd9ce by Andreas Tobler Committed by Andreas Tobler

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
parent a5093353
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> 2006-12-16 Jan Hubicka <jh@suse.cz>
* omp-low.c (expand_omp_parallel): Set function properties. * omp-low.c (expand_omp_parallel): Set function properties.
......
...@@ -849,12 +849,14 @@ clear_last_verified (void *data ATTRIBUTE_UNUSED) ...@@ -849,12 +849,14 @@ clear_last_verified (void *data ATTRIBUTE_UNUSED)
/* Helper function. Verify that the properties has been turn into the /* Helper function. Verify that the properties has been turn into the
properties expected by the pass. */ properties expected by the pass. */
#ifdef ENABLE_CHECKING
static void static void
verify_curr_properties (void *data) verify_curr_properties (void *data)
{ {
unsigned int props = (size_t)data; unsigned int props = (size_t)data;
gcc_assert ((cfun->curr_properties & props) == props); gcc_assert ((cfun->curr_properties & props) == props);
} }
#endif
/* After executing the pass, apply expected changes to the function /* After executing the pass, apply expected changes to the function
properties. */ properties. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment