From 14c14128140aa951c41dc3981698e7ad3fef88b8 Mon Sep 17 00:00:00 2001 From: andreast Date: Sat, 16 Dec 2006 22:49:05 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 4 ++++ gcc/passes.c | 2 ++ 2 files changed, 6 insertions(+) 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. */ -- 2.47.3