c-decl.c (init_decl_processing): If MD_INIT_BUILTINS is defined, call it.

* 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
This commit is contained in:
Bernd Schmidt 1999-09-28 13:43:34 +00:00 committed by Bernd Schmidt
parent 24d5059886
commit d25cf6335e
3 changed files with 12 additions and 1 deletions

View 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> Tue Sep 28 01:11:05 1999 Richard Henderson <rth@cygnus.com>
* builtins.c (stabilize_va_list): Stabilize array type va_list * builtins.c (stabilize_va_list): Stabilize array type va_list

View File

@ -2992,6 +2992,10 @@ init_decl_processing ()
pushdecl (build_decl (TYPE_DECL, pushdecl (build_decl (TYPE_DECL,
ridpointers[(int) RID_VOID], void_type_node)); ridpointers[(int) RID_VOID], void_type_node));
#ifdef MD_INIT_BUILTINS
MD_INIT_BUILTINS;
#endif
wchar_type_node = get_identifier (flag_short_wchar wchar_type_node = get_identifier (flag_short_wchar
? "short unsigned int" ? "short unsigned int"
: WCHAR_TYPE); : WCHAR_TYPE);

View File

@ -407,7 +407,7 @@ straighten_stack (insn, regstack)
if (regstack->top <= 0) if (regstack->top <= 0)
return; 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--) for (top = temp_stack.top = regstack->top; top >= 0; top--)
temp_stack.reg[top] = FIRST_STACK_REG + temp_stack.top - top; temp_stack.reg[top] = FIRST_STACK_REG + temp_stack.top - top;