diff options
author | Richard Stallman <rms@gnu.org> | 1992-02-20 07:32:14 +0000 |
---|---|---|
committer | Richard Stallman <rms@gnu.org> | 1992-02-20 07:32:14 +0000 |
commit | 0aaa6af8c2920d6c15309a5cd853889df982abc7 (patch) | |
tree | 415e665865b4d3a82a867700c4de15d6b37635ad | |
parent | 7306ed3fb68557907eea94c0e0fedb4b6b5abd93 (diff) | |
download | gcc-0aaa6af8c2920d6c15309a5cd853889df982abc7.zip gcc-0aaa6af8c2920d6c15309a5cd853889df982abc7.tar.gz gcc-0aaa6af8c2920d6c15309a5cd853889df982abc7.tar.bz2 |
*** empty log message ***
From-SVN: r349
-rw-r--r-- | gcc/config/m68k/hp320.h | 6 | ||||
-rw-r--r-- | gcc/reload1.c | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/config/m68k/hp320.h b/gcc/config/m68k/hp320.h index ceb8d97a..26afaff 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 717185d..e4ca0e7 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) |