Commit 8ce25479 by Zack Weinberg Committed by Zack Weinberg

tree.h: fancy_abort always takes three args.

1999-08-26 09:42 -0700  Zack Weinberg  <zack@bitmover.com>

	* tree.h: fancy_abort always takes three args.
	* resource.c: Move include of system.h before toplev.h.

From-SVN: r28893
parent 03565372
1999-08-26 09:42 -0700 Zack Weinberg <zack@bitmover.com>
* tree.h: fancy_abort always takes three args.
* resource.c: Move include of system.h before toplev.h.
Thu Aug 26 09:46:16 1999 Nick Clifton <nickc@cygnus.com>
* dwarf2out.c (mem_loc_descriptor): Accept LABEL_REFs as well
......
......@@ -19,10 +19,10 @@ the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
#include "config.h"
#include "system.h"
#include "toplev.h"
#include "rtl.h"
#include "hard-reg-set.h"
#include "system.h"
#include "basic-block.h"
#include "function.h"
#include "regs.h"
......
......@@ -2408,11 +2408,10 @@ extern void dwarf2out_end_epilogue PROTO((void));
special abort includes one or both. toplev.h gets too few files,
system.h gets too many. */
#if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 7)
extern void fancy_abort PROTO((const char *, int)) ATTRIBUTE_NORETURN;
#define abort() fancy_abort (__FILE__, __LINE__)
#else
extern void fancy_abort PROTO((const char *, int, const char *))
ATTRIBUTE_NORETURN;
#if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 7)
#define abort() fancy_abort (__FILE__, __LINE__, 0)
#else
#define abort() fancy_abort (__FILE__, __LINE__, __PRETTY_FUNCTION__)
#endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment