From e423833d36290e6919a4f286f0ba92e2395267c5 Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Wed, 19 Oct 2011 22:25:52 +0100 Subject: [PATCH] struct-layout-1_generate.c: Also pass -mno-mmx -Wno-abi for i?86-*-mingw32* x86_64-*-mingw32* i?86-*-cygwin*. * g++.dg/compat/struct-layout-1_generate.c: Also pass -mno-mmx -Wno-abi for i?86-*-mingw32* x86_64-*-mingw32* i?86-*-cygwin*. From-SVN: r180208 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/g++.dg/compat/struct-layout-1_generate.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index e55e8c4eedc..4b0d3bfbf8a 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2011-10-19 Joseph Myers + + * g++.dg/compat/struct-layout-1_generate.c: Also pass -mno-mmx + -Wno-abi for i?86-*-mingw32* x86_64-*-mingw32* i?86-*-cygwin*. + 2011-10-19 Uros Bizjak PR testsuite/50796 diff --git a/gcc/testsuite/g++.dg/compat/struct-layout-1_generate.c b/gcc/testsuite/g++.dg/compat/struct-layout-1_generate.c index db0e973a7a0..5ad3f4409f6 100644 --- a/gcc/testsuite/g++.dg/compat/struct-layout-1_generate.c +++ b/gcc/testsuite/g++.dg/compat/struct-layout-1_generate.c @@ -47,7 +47,7 @@ const char *dg_options[] = { "/* { dg-options \"%s-I%s\" } */\n", "/* { dg-options \"%s-I%s -mno-mmx -Wno-abi\" { target i?86-*-* x86_64-*-* } } */\n", "/* { dg-options \"%s-I%s -fno-common\" { target alpha*-dec-osf* hppa*-*-hpux* powerpc*-*-darwin* *-*-mingw32* *-*-cygwin* } } */\n", -"/* { dg-options \"%s-I%s -mno-mmx -fno-common -Wno-abi\" { target i?86-*-darwin* x86_64-*-darwin* } } */\n", +"/* { dg-options \"%s-I%s -mno-mmx -fno-common -Wno-abi\" { target i?86-*-darwin* x86_64-*-darwin* i?86-*-mingw32* x86_64-*-mingw32* i?86-*-cygwin* } } */\n", "/* { dg-options \"%s-I%s -mno-base-addresses\" { target mmix-*-* } } */\n", "/* { dg-options \"%s-I%s -mlongcalls -mtext-section-literals\" { target xtensa*-*-* } } */\n" #define NDG_OPTIONS (sizeof (dg_options) / sizeof (dg_options[0]))