aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Tiemann <tiemann@gnu.org>1992-03-04 07:29:59 +0000
committerMichael Tiemann <tiemann@gnu.org>1992-03-04 07:29:59 +0000
commit321cb743c7a80dcbdc17d0aac5ae418311f4edca (patch)
treec19cebaa083d6b2564d38f4b91cbc9cfb2333944
parenta419da6137e980685cf4d10cf363f39935b86b8c (diff)
downloadgcc-321cb743c7a80dcbdc17d0aac5ae418311f4edca.zip
gcc-321cb743c7a80dcbdc17d0aac5ae418311f4edca.tar.gz
gcc-321cb743c7a80dcbdc17d0aac5ae418311f4edca.tar.bz2
*** empty log message ***
From-SVN: r389
-rw-r--r--gcc/stor-layout.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/stor-layout.c b/gcc/stor-layout.c
index 0e6efe9..66f77db 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),