aboutsummaryrefslogtreecommitdiff
path: root/gcc/stor-layout.c
diff options
context:
space:
mode:
authorRichard Earnshaw <rearnsha@arm.com>2000-03-13 13:24:54 +0000
committerRichard Earnshaw <rearnsha@gcc.gnu.org>2000-03-13 13:24:54 +0000
commitf132af859b5eab43a71bdc764739bf8cce3225b1 (patch)
tree91cd78a84b88d49543237529de94c22601ac66b2 /gcc/stor-layout.c
parent302e5c4601a8593b578f8af34036b631b53f94c7 (diff)
downloadgcc-f132af859b5eab43a71bdc764739bf8cce3225b1.zip
gcc-f132af859b5eab43a71bdc764739bf8cce3225b1.tar.gz
gcc-f132af859b5eab43a71bdc764739bf8cce3225b1.tar.bz2
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
Diffstat (limited to 'gcc/stor-layout.c')
-rw-r--r--gcc/stor-layout.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/stor-layout.c b/gcc/stor-layout.c
index d2c4b7b..b9b8245 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