This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[C patch]: typo in finalize_record_size
- To: gcc-patches at gcc dot gnu dot org
- Subject: [C patch]: typo in finalize_record_size
- From: Nathan Sidwell <nathan at codesourcery dot com>
- Date: Tue, 14 Mar 2000 09:34:38 +0000
- CC: mark at codesourcery dot com
- Organization: CodeSourcery, LLC
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