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]

Re: PATCH: SSA for hard registers


On Mon, Jul 31, 2000 at 10:35:46AM -0700, Mark Mitchell wrote:
> + /* We cannot use <assert.h> in GCC source, since that would include
> +    GCC's assert.h, which may not be compatible with the host compiler.  */
> + #undef assert
> + #ifdef NDEBUG
> + # define assert(e)
> + #else
> + # define assert(e) do { if (! (e)) abort (); } while (0)
> + #endif

The entire rest of the source base uses `if (!e) abort()';
I don't see that we should make an exception here.



r~

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