From f132af859b5eab43a71bdc764739bf8cce3225b1 Mon Sep 17 00:00:00 2001 From: Richard Earnshaw Date: Mon, 13 Mar 2000 13:24:54 +0000 Subject: [PATCH] stor-layout.c (new_record_layout_info): Fix typo inside ifdef STRUCTURE_SIZE_BOUNDARY. * stor-layout.c (new_record_layout_info): Fix typo inside ifdef STRUCTURE_SIZE_BOUNDARY. From-SVN: r32505 --- gcc/ChangeLog | 5 +++++ gcc/stor-layout.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d5c91d3bcd8..fbdf615efbe 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2000-03-13 Richard Earnshaw + + * stor-layout.c (new_record_layout_info): Fix typo inside ifdef + STRUCTURE_SIZE_BOUNDARY. + 2000-03-13 Mark Mitchell * tree.h (record_layout_info_s): New structure. diff --git a/gcc/stor-layout.c b/gcc/stor-layout.c index d2c4b7b41bf..b9b824559b7 100644 --- a/gcc/stor-layout.c +++ b/gcc/stor-layout.c @@ -422,7 +422,7 @@ new_record_layout_info (t) #ifdef STRUCTURE_SIZE_BOUNDARY /* Packed structures don't need to have minimum size. */ - if (! TYPE_PACKED (rec)) + if (! TYPE_PACKED (t)) rli->record_align = MAX (rli->record_align, STRUCTURE_SIZE_BOUNDARY); #endif -- 2.30.2