This is the mail archive of the gcc@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]

Re: [RFC] Have assert macros


On Monday 23 August 2004 20:47, Nathan Sidwell wrote:
> Thus I propose adding two macros,
>      gcc_assert (EXPR)
>      gcc_unreachable ()

Why not gcc_abort() ?

<...>
> Opinions on this proposal?

I like it.
gfortran already has assert() scattered all over the place. It'd be nice to 
turn this into something a little more gcc-friendly.

Paul


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