From 1e31db1137f9b863861074609666806dbf500251 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Fri, 26 Sep 2014 10:35:58 +0200 Subject: [PATCH] struct-layout-1_generate.c: Add -Wno-abi to default options. * g++.dg/compat/struct-layout-1_generate.c: Add -Wno-abi to default options. From-SVN: r215637 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/g++.dg/compat/struct-layout-1_generate.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index ba5225c0bea2..7143edb80beb 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2014-09-26 Jakub Jelinek + + * g++.dg/compat/struct-layout-1_generate.c: Add -Wno-abi + to default options. + 2014-09-25 Bill Schmidt Backport from mainline r215559 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 2cf08946e36a..2884c25f3372 100644 --- a/gcc/testsuite/g++.dg/compat/struct-layout-1_generate.c +++ b/gcc/testsuite/g++.dg/compat/struct-layout-1_generate.c @@ -1,5 +1,5 @@ /* Structure layout test generator. - Copyright (C) 2004, 2005, 2007, 2008, 2009, 2011, 2012 + Copyright (C) 2004-2014 Free Software Foundation, Inc. Contributed by Jakub Jelinek . @@ -44,7 +44,7 @@ along with GCC; see the file COPYING3. If not see #endif const char *dg_options[] = { -"/* { dg-options \"%s-I%s\" } */\n", +"/* { dg-options \"%s-I%s -Wno-abi\" } */\n", "/* { dg-options \"%s-I%s -mno-mmx -Wno-abi\" { target i?86-*-* x86_64-*-* } } */\n", "/* { dg-options \"%s-I%s -fno-common\" { target 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* i?86-*-mingw32* x86_64-*-mingw32* i?86-*-cygwin* } } */\n", -- 2.47.2