Skip to content
Snippets Groups Projects
  • Andrew Pinski's avatar
    4540a3ad
    re PR libobjc/25347 (objc_alignof_type gets the wrong alignment for unions... · 4540a3ad
    Andrew Pinski authored
    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
    4540a3ad
    History
    re PR libobjc/25347 (objc_alignof_type gets the wrong alignment for unions...
    Andrew Pinski authored
    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