This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Committed: two small patches
- To: gcc-patches at gcc dot gnu dot org
- Subject: Committed: two small patches
- From: Bernd Schmidt <bernds at cygnus dot co dot uk>
- Date: Tue, 28 Sep 1999 14:44:26 +0100 (BST)
I applied the following patch. Reviewed by Richard Henderson.
Bernd
Index: ChangeLog
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/gcc/ChangeLog,v
retrieving revision 1.4528
diff -u -p -r1.4528 ChangeLog
--- ChangeLog 1999/09/28 08:15:32 1.4528
+++ ChangeLog 1999/09/28 13:42:25
@@ -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: reg-stack.c
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/gcc/reg-stack.c,v
retrieving revision 1.39
diff -u -p -r1.39 reg-stack.c
--- reg-stack.c 1999/09/20 09:59:51 1.39
+++ reg-stack.c 1999/09/28 13:42:26
@@ -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;
Index: c-decl.c
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/gcc/c-decl.c,v
retrieving revision 1.79
diff -u -p -r1.79 c-decl.c
--- c-decl.c 1999/09/24 10:06:49 1.79
+++ c-decl.c 1999/09/28 13:42:28
@@ -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);