Fix g++.dg/compat/struct-layout-1_generate.c options for Windows targets

Mike Stump
Wed Oct 19 20:56:00 GMT 2011

On Oct 19, 2011, at 11:58 AM, "Joseph S. Myers" <> wrote:
> g++.dg/compat/struct-layout-1_generate.c generates a dg-options line
> using -mno-mmx -Wno-abi for i?86-*-* x86_64-*-* - and one using
> -fno-common, which takes precedence, for alpha*-dec-osf* hppa*-*-hpux*
> powerpc*-*-darwin* *-*-mingw32* *-*-cygwin*.  But at least
> i686-mingw32 still needs the -Wno-abi option.  This patch adds the
> Windows targets to the case for i?86-*-darwin* x86_64-*-darwin* which
> already passes both sets of options.

> OK to commit?


More information about the Gcc-patches mailing list