OSDN Git Service

* c-decl.c (start_struct): Ensure that structs with forward
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 16 Oct 1997 21:45:24 +0000 (21:45 +0000)
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 16 Oct 1997 21:45:24 +0000 (21:45 +0000)
commit3af966eb115278ae073932614bf42328941970a4
tree074af1c4450358fa3fca1e255fb9492918cce5f8
parent0f2bac5eceff24371450a8f9b07f0d9f8a757da8
    * c-decl.c (start_struct): Ensure that structs with forward
        declarations are in fact packed when -fpack-struct is given.

        * stor-layout.c (layout_record): Ignore STRUCTURE_SIZE_BOUNDARY if
        we are packing a structure.  This allows a structure with only
        bytes to be aligned on a byte boundary and have no padding on a
        m68k.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@15939 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/c-decl.c
gcc/stor-layout.c