From: andreast Date: Sat, 16 Dec 2006 22:49:05 +0000 (+0000) Subject: 2006-12-16 Andreas Tobler X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=14c14128140aa951c41dc3981698e7ad3fef88b8;p=thirdparty%2Fgcc.git 2006-12-16 Andreas Tobler * passes.c (verify_curr_properties): Define only for ENABLE_CHECKING. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@119971 138bc75d-0d04-0410-961f-82ee72b054a4 --- 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. */