passes.c (verify_curr_properties): Define only for ENABLE_CHECKING.
authorAndreas Tobler <a.tobler@schweiz.org>
Sat, 16 Dec 2006 22:49:05 +0000 (22:49 +0000)
committerAndreas Tobler <andreast@gcc.gnu.org>
Sat, 16 Dec 2006 22:49:05 +0000 (23:49 +0100)
2006-12-16  Andreas Tobler  <a.tobler@schweiz.org>

* passes.c (verify_curr_properties): Define only for ENABLE_CHECKING.

From-SVN: r119971

gcc/ChangeLog
gcc/passes.c

index b667dd1..4dfea22 100644 (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.
index e4bac7a..38c95cd 100644 (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. */