From 0aaa6af8c2920d6c15309a5cd853889df982abc7 Mon Sep 17 00:00:00 2001 From: Richard Stallman Date: Thu, 20 Feb 1992 07:32:14 +0000 Subject: [PATCH] *** empty log message *** From-SVN: r349 --- gcc/config/m68k/hp320.h | 6 ++++++ gcc/reload1.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gcc/config/m68k/hp320.h b/gcc/config/m68k/hp320.h index ceb8d97a0cb..26afaff89c7 100644 --- a/gcc/config/m68k/hp320.h +++ b/gcc/config/m68k/hp320.h @@ -36,6 +36,10 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ /* Be compatible with system stddef.h. */ #define SIZE_TYPE "unsigned int" +/* Use atexit for static constructors/destructors, instead of defining + our own exit function. */ +#define HAVE_ATEXIT + #include "m68k.h" /* See m68k.h. 7 means 68020 with 68881. */ @@ -375,6 +379,8 @@ do{ if (PREFIX[0] == 'L' && PREFIX[1] == 'I') \ else if (CODE == '+') fprintf (FILE, "(%%sp)+"); \ else if (CODE == '@') fprintf (FILE, "(%%sp)"); \ else if (CODE == '!') fprintf (FILE, "%%cc"); \ + else if (CODE == '$') { if (TARGET_68040_ONLY) fprintf (FILE, "s"); } \ + else if (CODE == '&') { if (TARGET_68040_ONLY) fprintf (FILE, "d"); } \ else if (GET_CODE (X) == REG) \ fprintf (FILE, "%s", reg_names[REGNO (X)]); \ else if (GET_CODE (X) == MEM) \ diff --git a/gcc/reload1.c b/gcc/reload1.c index 717185d926f..e4ca0e7aed7 100644 --- a/gcc/reload1.c +++ b/gcc/reload1.c @@ -1204,7 +1204,7 @@ reload (first, global, dumpfile) caller_save_needs[(int) caller_save_spill_class]++; while (*p != LIM_REG_CLASSES) - caller_save_needs[*p++] += 1; + caller_save_needs[(int) *p++] += 1; } if (caller_save_group_size > 1) -- 2.30.2