diff options
author | Andrew Pinski <pinskia@physics.uc.edu> | 2005-12-11 06:59:12 +0000 |
---|---|---|
committer | Andrew Pinski <pinskia@gcc.gnu.org> | 2005-12-10 22:59:12 -0800 |
commit | 4540a3ade18d12fa93b67426b6d722d84902d906 (patch) | |
tree | 9f61241fd1b0a770954dad72e767c7926af8ce56 /gcc/tree-pass.h | |
parent | 153b4898d243846931a06682cd06ce16b826d755 (diff) | |
download | gcc-4540a3ade18d12fa93b67426b6d722d84902d906.zip gcc-4540a3ade18d12fa93b67426b6d722d84902d906.tar.gz gcc-4540a3ade18d12fa93b67426b6d722d84902d906.tar.bz2 |
re PR libobjc/25347 (objc_alignof_type gets the wrong alignment for unions (objc_sizeof_type is wrong also too))
2005-12-11 Andrew Pinski <pinskia@physics.uc.edu>
PR libobjc/25347
* encoding.c (objc_sizeof_type): Don't handle _C_UNION_B special
but use the struct layout functions.
(objc_alignof_type): Likewise.
(objc_layout_structure): Handle _C_UNION_B also.
(objc_layout_structure_next_member): Likewise.
(objc_layout_finish_structure): Likewise.
2005-12-11 Andrew Pinski <pinskia@physics.uc.edu>
PR libobjc/25347
* objc.dg/encode-8.m: New test.
From-SVN: r108379
Diffstat (limited to 'gcc/tree-pass.h')
0 files changed, 0 insertions, 0 deletions