assert infrastructure for runtime

Nathan Sidwell nathan@codesourcery.com
Wed Mar 23 16:16:00 GMT 2005


This patch adds gcc_assert infrastructure for the runtime support
libraries.  It adds a --enable-checking=runtime configure option, which
is enabled by default and with --enable-checking=release.  It is disabled
with --enable-checking=none (this latter case will be a change from
the current situation).

The nice thing about this, is we can then use gcc_assert *everywhere*.
In gcov's case we have a library that is in the compiler, runtime and
utilities  -- it would be neat to unify its assert #defines.

booted & tested on i686-pc-linux-gnu, ok?

nathan
-- 
Nathan Sidwell    ::   http://www.codesourcery.com   ::     CodeSourcery LLC
nathan@codesourcery.com    ::     http://www.planetfall.pwp.blueyonder.co.uk

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: assert-runtime-2.patch
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20050323/72fe86f3/attachment.ksh>


More information about the Gcc-patches mailing list