This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Restore bootstrability of i386 (applied)


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 ();

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]