summaryrefslogtreecommitdiff
path: root/gcc/stor-layout.c
diff options
context:
space:
mode:
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 690ec365ea4..8773fa9a8a8 100644
--- a/gcc/stor-layout.c
+++ b/gcc/stor-layout.c
@@ -1163,7 +1163,7 @@ layout_type (type)
break;
case VOID_TYPE:
- TYPE_SIZE (type) = bitsize_int (0);
+ /* VOID_TYPE is an incompletable type, it has no size */
TYPE_SIZE_UNIT (type) = size_zero_node;
TYPE_ALIGN (type) = 1;
TYPE_MODE (type) = VOIDmode;