summaryrefslogtreecommitdiff
path: root/gcc/dwarf2out.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/dwarf2out.c')
-rwxr-xr-xgcc/dwarf2out.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c
index 21404e1..e98380c 100755
--- a/gcc/dwarf2out.c
+++ b/gcc/dwarf2out.c
@@ -27,6 +27,7 @@ Boston, MA 02111-1307, USA. */
DWARF2_DEBUGGING_INFO, deals with the other DWARF 2 debugging
information. */
+#include <assert.h>
#include "config.h"
#include "system.h"
#include "defaults.h"
@@ -45,15 +46,6 @@ Boston, MA 02111-1307, USA. */
#include "toplev.h"
#include "dyn-string.h"
-/* 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
-
/* Decide whether we want to emit frame unwind information for the current
translation unit. */