This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch] unbreak bootstrap for disable-checking


Hi all,

this one fixes a bootstrap problem on builds w/o checking enabled.

Ok ?

Thanks,
Andreas

2006-12-16 Andreas Tobler <a.tobler@schweiz.org>

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


Index: passes.c =================================================================== --- passes.c (revision 119968) +++ passes.c (working copy) @@ -849,12 +849,14 @@ /* 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. */


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]