]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
c-decl.c (init_decl_processing): If MD_INIT_BUILTINS is defined, call it.
authorBernd Schmidt <bernds@cygnus.co.uk>
Tue, 28 Sep 1999 13:43:34 +0000 (13:43 +0000)
committerBernd Schmidt <crux@gcc.gnu.org>
Tue, 28 Sep 1999 13:43:34 +0000 (13:43 +0000)
* c-decl.c (init_decl_processing): If MD_INIT_BUILTINS is defined,
call it.
* reg-stack.c (straighten_stack): Copy hard reg set with
COPY_HARD_REG_SET.

From-SVN: r29694

gcc/ChangeLog
gcc/c-decl.c
gcc/reg-stack.c

index c1bbe79475293361b1ff58d62a6b742d7fe93b1f..e6576d3e34c3ea65a4471bd08589d27f4c7680c4 100644 (file)
@@ -1,3 +1,10 @@
+Tue Sep 28 14:33:47 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
+
+       * c-decl.c (init_decl_processing): If MD_INIT_BUILTINS is defined,
+       call it.
+       * reg-stack.c (straighten_stack): Copy hard reg set with
+       COPY_HARD_REG_SET.
+
 Tue Sep 28 01:11:05 1999  Richard Henderson  <rth@cygnus.com>
 
        * builtins.c (stabilize_va_list): Stabilize array type va_list
index 289deeb5c20d1eda0bb70e6d4bc82c0189476e26..433030db2fa729e93fcdc07f21127d94f4b92ceb 100644 (file)
@@ -2992,6 +2992,10 @@ init_decl_processing ()
   pushdecl (build_decl (TYPE_DECL,
                        ridpointers[(int) RID_VOID], void_type_node));
 
+#ifdef MD_INIT_BUILTINS
+  MD_INIT_BUILTINS;
+#endif
+
   wchar_type_node = get_identifier (flag_short_wchar
                                    ? "short unsigned int"
                                    : WCHAR_TYPE);
index 04c2cd6001258a8d9ffe4a89a23873c103c7586f..0cbc5da21247228a7d39bb2518c0a4accc7ed4e2 100644 (file)
@@ -407,7 +407,7 @@ straighten_stack (insn, regstack)
   if (regstack->top <= 0)
     return;
 
-  temp_stack.reg_set = regstack->reg_set;
+  COPY_HARD_REG_SET (temp_stack.reg_set, regstack->reg_set);
 
   for (top = temp_stack.top = regstack->top; top >= 0; top--)
     temp_stack.reg[top] = FIRST_STACK_REG + temp_stack.top - top;