diff options
author | Nathan Sidwell <nathan@gcc.gnu.org> | 2004-08-23 11:57:02 +0000 |
---|---|---|
committer | Nathan Sidwell <nathan@gcc.gnu.org> | 2004-08-23 11:57:02 +0000 |
commit | b3d1f5b404c57db42824d112f3368d76e1711e11 (patch) | |
tree | 363bce80c38ec2136e0b02d1c6967f54b9a7c3e1 /gcc/tree.h | |
parent | a60945f82f0eb22a72005c0d24f155740e3450b3 (diff) | |
download | gcc-b3d1f5b404c57db42824d112f3368d76e1711e11.zip gcc-b3d1f5b404c57db42824d112f3368d76e1711e11.tar.gz gcc-b3d1f5b404c57db42824d112f3368d76e1711e11.tar.bz2 |
Makefile.in (BUILD_ERRORS): Set to build-errors.
* Makefile.in (BUILD_ERRORS): Set to build-errors.
(errors.o): New target for host.
(build-errors.o): New target for build.
(genobjs): Replace errors.o with build-errors.
(gengenrtl$(buildexeext)): Add $(BUILD_ERRORS).
(GCOV_OBJS, GCOV_DUMP_OBJS): Add errors.o.
(fix-headers$(build_exeext)): Add $(BUILD_ERRORS).
(fix-header.o): Add errors.h
* collect2.c (fancy_abort): Add parameters.
* collect2.h (fancy_abort): Don't declare.
* errors.h (fancy_abort): Don't declare.
* errors.c: Include either bconfig.h or config.h.
(fancy_abort): Trim filename.
* fix-header.c (v_fatal, fatal): Remove.
(progname): Remove definition.
(main): Set progname here.
* gcc.c (fancy_abort): Add parameters.
* gcc.h (fancy_abort): Remove declaration.
* gcov.c (fancy_abort): Remove.
* rtl.h (fancy_abort): Don't declare.
(abort): Don't define.
* tree.h (fancy_abort): Don't declare.
(abort): Don't define.
* system.h (fancy_abort): Declare.
(abort): Define to fancy_abort.
* fixinc/Makefile.in (ALLOBJ): Add ../build-errors.o
* java/jv-scan.c (fancy_abort): Add.
From-SVN: r86424
Diffstat (limited to 'gcc/tree.h')
-rw-r--r-- | gcc/tree.h | 10 |
1 files changed, 0 insertions, 10 deletions
@@ -3746,16 +3746,6 @@ extern const char *dump_flag_name (enum tree_dump_index); extern void set_decl_rtl (tree, rtx); extern void set_decl_incoming_rtl (tree, rtx); -/* Redefine abort to report an internal error w/o coredump, and - reporting the location of the error in the source file. This logic - is duplicated in rtl.h and tree.h because every file that needs the - special abort includes one or both. toplev.h gets too few files, - system.h gets too many. */ - -extern void fancy_abort (const char *, int, const char *) - ATTRIBUTE_NORETURN; -#define abort() fancy_abort (__FILE__, __LINE__, __FUNCTION__) - /* Enum and arrays used for tree allocation stats. Keep in sync with tree.c:tree_node_kind_names. */ typedef enum |