From: Andreas Tobler Date: Sat, 16 Dec 2006 22:49:05 +0000 (+0000) Subject: passes.c (verify_curr_properties): Define only for ENABLE_CHECKING. X-Git-Tag: releases/gcc-4.3.0~7940 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=582fd9ced4bb29a5d455e9fac06b939903db5095;p=thirdparty%2Fgcc.git passes.c (verify_curr_properties): Define only for ENABLE_CHECKING. 2006-12-16 Andreas Tobler * passes.c (verify_curr_properties): Define only for ENABLE_CHECKING. From-SVN: r119971 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b667dd1d74dd..4dfea2241ef4 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2006-12-16 Andreas Tobler + + * passes.c (verify_curr_properties): Define only for ENABLE_CHECKING. + 2006-12-16 Jan Hubicka * omp-low.c (expand_omp_parallel): Set function properties. diff --git a/gcc/passes.c b/gcc/passes.c index e4bac7a844b8..38c95cdaf2bc 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. */