[patch] fix test gcc.dg/bf-ms-layout.c

Janis Johnson janis_johnson@mentor.com
Thu Apr 26 00:25:00 GMT 2012


A couple of months ago Kai Tietz fixed several tests for MS layout of
bitfields, including:

    2012-02-23  Kai Tietz  <ktietz@redhat.com>

        * gcc.dg/bf-ms-layout-2.c: Adjust offsets to fit ms-bitfield
        structure-layout.

He missed changes to gcc.dg/bf-ms-layout.c which has the same layouts
as bf-ms-layout-2.c but uses a command line option while the other uses
attributes.  Test gcc.dg/bf-ms-layout.c currently fails on mainline for
i686-mingw32.

This patch fixes the expected offsets in bf-ms-layout.c to match those
in the modified test, bf-ms-layout-2.c.  OK for mainline?

Janis
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: gcc-20120425-1
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20120426/ff5a2b87/attachment.ksh>


More information about the Gcc-patches mailing list