From 321cb743c7a80dcbdc17d0aac5ae418311f4edca Mon Sep 17 00:00:00 2001 From: Michael Tiemann Date: Wed, 4 Mar 1992 07:29:59 +0000 Subject: [PATCH] *** empty log message *** From-SVN: r389 --- gcc/stor-layout.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gcc/stor-layout.c b/gcc/stor-layout.c index 0e6efe94aed..66f77db4434 100644 --- a/gcc/stor-layout.c +++ b/gcc/stor-layout.c @@ -618,6 +618,11 @@ layout_type (type) TYPE_MODE (type) = VOIDmode; break; + case OFFSET_TYPE: + TYPE_SIZE (type) = size_int (GET_MODE_BITSIZE (Pmode)); + TYPE_MODE (type) = Pmode; + break; + case FUNCTION_TYPE: case METHOD_TYPE: TYPE_MODE (type) = mode_for_size (2 * GET_MODE_BITSIZE (Pmode), -- 2.30.2