c-decl.c (start_struct): Ensure that structs with forward declarations are in fact...
authorMike Stump <mrs@wrs.com>
Thu, 16 Oct 1997 21:45:24 +0000 (21:45 +0000)
committerJeff Law <law@gcc.gnu.org>
Thu, 16 Oct 1997 21:45:24 +0000 (15:45 -0600)
commit5c19a35643bd0c7d5a2766a5b91f6b6b4cb7242d
tree074af1c4450358fa3fca1e255fb9492918cce5f8
parentbdd7e652f4b7b615e07eef4f83d80fb9ab7425e8
c-decl.c (start_struct): Ensure that structs with forward declarations are in fact packed when...

        * 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.

From-SVN: r15939
gcc/ChangeLog
gcc/c-decl.c
gcc/stor-layout.c