OSDN Git Service

*** empty log message ***
authorrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 20 Feb 1992 07:32:14 +0000 (07:32 +0000)
committerrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 20 Feb 1992 07:32:14 +0000 (07:32 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@349 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/config/m68k/hp320.h
gcc/reload1.c

index ceb8d97..26afaff 100644 (file)
@@ -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)                                                \
index 717185d..e4ca0e7 100644 (file)
@@ -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)