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]

[C patch]: typo in finalize_record_size


Hi,
I installed the attached which was causing a sparc build failure.

nathan
-- 
Dr Nathan Sidwell   ::   http://www.codesourcery.com   ::   CodeSourcery LLC
         'But that's a lie.' - 'Yes it is. What's your point?'
nathan@codesourcery.com : http://www.cs.bris.ac.uk/~nathan/ : nathan@acm.org
2000-03-14  Nathan Sidwell  <nathan@codesourcery.com>

	* stor-layout.c (finalize_record_size): Fix typo.

Index: stor-layout.c
===================================================================
RCS file: /cvs/gcc/egcs/gcc/stor-layout.c,v
retrieving revision 1.55
diff -c -3 -p -r1.55 stor-layout.c
*** stor-layout.c	2000/03/13 13:24:54	1.55
--- stor-layout.c	2000/03/14 09:32:15
*************** finalize_record_size (rli)
*** 688,694 ****
    /* Determine the desired alignment.  */
  #ifdef ROUND_TYPE_ALIGN
    TYPE_ALIGN (rli->t) = ROUND_TYPE_ALIGN (rli->t, TYPE_ALIGN (rli->t),
! 					  record_align);
  #else
    TYPE_ALIGN (rli->t) = MAX (TYPE_ALIGN (rli->t), rli->record_align);
  #endif
--- 688,694 ----
    /* Determine the desired alignment.  */
  #ifdef ROUND_TYPE_ALIGN
    TYPE_ALIGN (rli->t) = ROUND_TYPE_ALIGN (rli->t, TYPE_ALIGN (rli->t),
! 					  rli->record_align);
  #else
    TYPE_ALIGN (rli->t) = MAX (TYPE_ALIGN (rli->t), rli->record_align);
  #endif

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