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
This commit is contained in:
Zack Weinberg 1999-08-26 16:49:42 +00:00 committed by Zack Weinberg
parent 03565372b3
commit 8ce2547995
3 changed files with 9 additions and 5 deletions

View File

@ -1,3 +1,8 @@
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

View File

@ -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"

View File

@ -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