diff options
author | Jeff Law <law@gcc.gnu.org> | 1998-01-14 13:57:58 -0700 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 1998-01-14 13:57:58 -0700 |
commit | c85f7c16ad9bed5d4732a4624c049da5a5f33085 (patch) | |
tree | 028c0425d9847ebff16ca9566dcf696998e902b9 /gcc/dwarfout.c | |
parent | 60db002df5f6244493a8f2d52277994bdd071938 (diff) | |
download | gcc-c85f7c16ad9bed5d4732a4624c049da5a5f33085.zip gcc-c85f7c16ad9bed5d4732a4624c049da5a5f33085.tar.gz gcc-c85f7c16ad9bed5d4732a4624c049da5a5f33085.tar.bz2 |
Bring in final gcc-2.8.0 changes.
From-SVN: r17355
Diffstat (limited to 'gcc/dwarfout.c')
-rw-r--r-- | gcc/dwarfout.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc/dwarfout.c b/gcc/dwarfout.c index 528886a..4681523 100644 --- a/gcc/dwarfout.c +++ b/gcc/dwarfout.c @@ -58,6 +58,15 @@ extern time_t time (); #endif #endif +/* 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 + extern char *getpwd (); #ifdef NEED_DECLARATION_INDEX |