This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Restore bootstrability of i386 (applied)
- To: egcs-patches at egcs dot cygnus dot com
- Subject: Restore bootstrability of i386 (applied)
- From: Jan Hubicka <hubicka at atrey dot karlin dot mff dot cuni dot cz>
- Date: Wed, 15 Mar 2000 13:11:36 +0100
Hi
I've applied following as the obvious bugfix:
Wed Mar 15 13:07:05 MET 2000 Jan Hubicka <jh@suse.cz>
* i386.md (ix86_compute_frame_size): stack_alignment_needed is
STACK_BOUNDARY for empty frames now.
Index: egcs/gcc/config/i386/i386.c
===================================================================
RCS file: /cvs/gcc/egcs/gcc/config/i386/i386.c,v
retrieving revision 1.143
diff -c -3 -p -r1.143 i386.c
*** i386.c 2000/03/09 19:30:09 1.143
--- i386.c 2000/03/15 12:09:21
*************** ix86_compute_frame_size (size, nregs_on_
*** 1784,1790 ****
if (size && !stack_alignment_needed)
abort ();
! if (!size && stack_alignment_needed)
abort ();
if (preferred_alignment < STACK_BOUNDARY / BITS_PER_UNIT)
abort ();
--- 1784,1790 ----
if (size && !stack_alignment_needed)
abort ();
! if (!size && stack_alignment_needed != STACK_BOUNDARY / BITS_PER_UNIT)
abort ();
if (preferred_alignment < STACK_BOUNDARY / BITS_PER_UNIT)
abort ();