From: Rainer Orth Date: Wed, 8 Jun 2011 11:39:14 +0000 (+0000) Subject: re PR middle-end/21953 (Many tmpdir-gcc.dg-struct-layout-1 tests fail on Tru64 UNIX... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d02c23af121fa3aa32b4e4d3dff6e4e9d0ff15ef;p=gcc.git re PR middle-end/21953 (Many tmpdir-gcc.dg-struct-layout-1 tests fail on Tru64 UNIX V5.1B) PR middle-end/21953 * gcc.dg/compat/struct-layout-1_generate.c (dg-options): Use -fno-common on alpha*-dec-osf*. * g++.dg/compat/struct-layout-1_generate.c (dg-options): Likewise. From-SVN: r174804 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 5142ccb3223..e14efafc187 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,10 @@ +2011-06-08 Rainer Orth + + PR middle-end/21953 + * gcc.dg/compat/struct-layout-1_generate.c (dg-options): Use + -fno-common on alpha*-dec-osf*. + * g++.dg/compat/struct-layout-1_generate.c (dg-options): Likewise. + 2011-06-08 Alexander Monakov PR rtl-optimization/49303 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 b6846a918a4..db0e973a7a0 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,6 @@ /* Structure layout test generator. - Copyright (C) 2004, 2005, 2007, 2008, 2009 Free Software Foundation, Inc. + Copyright (C) 2004, 2005, 2007, 2008, 2009, 2011 + Free Software Foundation, Inc. Contributed by Jakub Jelinek . This file is part of GCC. @@ -45,7 +46,7 @@ along with GCC; see the file COPYING3. If not see 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 hppa*-*-hpux* powerpc*-*-darwin* *-*-mingw32* *-*-cygwin* } } */\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-base-addresses\" { target mmix-*-* } } */\n", "/* { dg-options \"%s-I%s -mlongcalls -mtext-section-literals\" { target xtensa*-*-* } } */\n" diff --git a/gcc/testsuite/gcc.dg/compat/struct-layout-1_generate.c b/gcc/testsuite/gcc.dg/compat/struct-layout-1_generate.c index 4f5315df2c2..76878ff954c 100644 --- a/gcc/testsuite/gcc.dg/compat/struct-layout-1_generate.c +++ b/gcc/testsuite/gcc.dg/compat/struct-layout-1_generate.c @@ -1,5 +1,6 @@ /* Structure layout test generator. - Copyright (C) 2004, 2005, 2007, 2008, 2009 Free Software Foundation, Inc. + Copyright (C) 2004, 2005, 2007, 2008, 2009, 2011 + Free Software Foundation, Inc. Contributed by Jakub Jelinek . This file is part of GCC. @@ -46,7 +47,7 @@ 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* } } */\n", +"/* { dg-options \"%s-I%s -fno-common\" { target alpha*-dec-osf* hppa*-*-hpux* powerpc*-*-darwin* } } */\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-base-addresses\" { target mmix-*-* } } */\n", "/* { dg-options \"%s-I%s -mlongcalls -mtext-section-literals\" { target xtensa*-*-* } } */\n"