projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a419da6
)
*** empty log message ***
author
Michael Tiemann
<tiemann@gnu.org>
Wed, 4 Mar 1992 07:29:59 +0000
(07:29 +0000)
committer
Michael Tiemann
<tiemann@gnu.org>
Wed, 4 Mar 1992 07:29:59 +0000
(07:29 +0000)
From-SVN: r389
gcc/stor-layout.c
patch
|
blob
|
history
diff --git
a/gcc/stor-layout.c
b/gcc/stor-layout.c
index 0e6efe94aed08ce939c51e61a5ecb4ecdd656aa5..66f77db44348942df281fa63fbd192a8421b5440 100644
(file)
--- 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),