diff options
Diffstat (limited to 'gcc/stor-layout.c')
-rw-r--r-- | gcc/stor-layout.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/stor-layout.c b/gcc/stor-layout.c index 0ce97a5..1eef578 100644 --- a/gcc/stor-layout.c +++ b/gcc/stor-layout.c @@ -1859,6 +1859,9 @@ finalize_type_size (tree type) SET_TYPE_MODE (variant, mode); } } + + /* Handle empty records as per the x86-64 psABI. */ + TYPE_EMPTY_P (type) = targetm.calls.empty_record_p (type); } /* Return a new underlying object for a bitfield started with FIELD. */ |