From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1PeNSk-0006Dk-BI for garchives@archives.gentoo.org; Sun, 16 Jan 2011 07:55:46 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 696FDE097D; Sun, 16 Jan 2011 07:55:38 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id E3EFFE097D for ; Sun, 16 Jan 2011 07:55:37 +0000 (UTC) Received: from flycatcher.gentoo.org (flycatcher.gentoo.org [81.93.255.6]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D43361B428B for ; Sun, 16 Jan 2011 07:55:36 +0000 (UTC) Received: by flycatcher.gentoo.org (Postfix, from userid 2145) id BC8DB20054; Sun, 16 Jan 2011 07:55:34 +0000 (UTC) From: "Ryan Hill (dirtyepic)" To: gentoo-commits@lists.gentoo.org Reply-To: gentoo-dev@lists.gentoo.org, dirtyepic@gentoo.org Subject: [gentoo-commits] gentoo commit in src/patchsets/gcc/4.5.2/gentoo: 99_all_testsuite-01-Wformat.patch 99_all_testsuite-02-Wtrampolines.patch README.history X-VCS-Repository: gentoo X-VCS-Files: 99_all_testsuite-01-Wformat.patch 99_all_testsuite-02-Wtrampolines.patch README.history X-VCS-Directories: src/patchsets/gcc/4.5.2/gentoo X-VCS-Committer: dirtyepic X-VCS-Committer-Name: Ryan Hill Content-Type: text/plain; charset=utf8 Message-Id: <20110116075534.BC8DB20054@flycatcher.gentoo.org> Date: Sun, 16 Jan 2011 07:55:34 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 61088899-c5c8-49e8-a652-5fa8894ff9ad X-Archives-Hash: bdc87343388cda92f9bfedadaa151c16 dirtyepic 11/01/16 07:55:34 Modified: README.history Added: 99_all_testsuite-01-Wformat.patch 99_all_testsuite-02-Wtrampolines.patch Log: Fix testsuite failures caused by our default warning patches. Revision Changes Path 1.6 src/patchsets/gcc/4.5.2/gentoo/README.history file : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/4.5.= 2/gentoo/README.history?rev=3D1.6&view=3Dmarkup plain: http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/4.5.= 2/gentoo/README.history?rev=3D1.6&content-type=3Dtext/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/4.5.= 2/gentoo/README.history?r1=3D1.5&r2=3D1.6 Index: README.history =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /var/cvsroot/gentoo/src/patchsets/gcc/4.5.2/gentoo/README.histo= ry,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- README.history 28 Dec 2010 00:56:52 -0000 1.5 +++ README.history 16 Jan 2011 07:55:34 -0000 1.6 @@ -1,3 +1,7 @@ +1.1 pending + + 99_all_testsuite-01-Wformat.patch + + 99_all_testsuite-02-Wtrampolines.patch + 1.0 27.12.2010=20 + 00_all_gcc-4.1-alpha-mieee-default.patch=20 + 01_all_gcc-4.1-alpha-asm-mcpu.patch=20 1.1 src/patchsets/gcc/4.5.2/gentoo/99_all_testsuite-01-W= format.patch file : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/4.5.= 2/gentoo/99_all_testsuite-01-Wformat.patch?rev=3D1.1&view=3Dmarkup plain: http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/4.5.= 2/gentoo/99_all_testsuite-01-Wformat.patch?rev=3D1.1&content-type=3Dtext/= plain Index: 99_all_testsuite-01-Wformat.patch =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Workaround testsuite failures caused by enabling -Wformat -Wformat-secur= ity by default. gcc/testsuite/g++.dg/abi/pragma-pack1.C | 1 + gcc/testsuite/g++.dg/ext/align1.C | 2 ++ gcc/testsuite/g++.dg/opt/alias2.C | 2 +- gcc/testsuite/g++.old-deja/g++.abi/vbase1.C | 1 + gcc/testsuite/g++.old-deja/g++.brendan/template8.C | 1 + gcc/testsuite/g++.old-deja/g++.jason/access23.C | 1 + gcc/testsuite/g++.old-deja/g++.law/cvt8.C | 1 + gcc/testsuite/g++.old-deja/g++.law/operators28.C | 1 + gcc/testsuite/g++.old-deja/g++.mike/net35.C | 1 + gcc/testsuite/g++.old-deja/g++.mike/offset1.C | 1 + gcc/testsuite/g++.old-deja/g++.mike/p12306.C | 1 + gcc/testsuite/g++.old-deja/g++.mike/p3579.C | 1 + gcc/testsuite/g++.old-deja/g++.mike/p3708.C | 1 + gcc/testsuite/g++.old-deja/g++.mike/p3708a.C | 1 + gcc/testsuite/g++.old-deja/g++.mike/p3708b.C | 1 + gcc/testsuite/g++.old-deja/g++.mike/p646.C | 2 +- gcc/testsuite/g++.old-deja/g++.mike/p710.C | 1 + gcc/testsuite/g++.old-deja/g++.mike/p789a.C | 1 + gcc/testsuite/g++.old-deja/g++.mike/pmf2.C | 1 + gcc/testsuite/g++.old-deja/g++.mike/temp.C | 1 + gcc/testsuite/g++.old-deja/g++.other/virtual8.C | 1 + gcc/testsuite/g++.old-deja/g++.pt/memtemp23.C | 1 + gcc/testsuite/g++.old-deja/g++.pt/memtemp24.C | 1 + gcc/testsuite/g++.old-deja/g++.pt/memtemp25.C | 1 + gcc/testsuite/g++.old-deja/g++.pt/memtemp26.C | 1 + gcc/testsuite/g++.old-deja/g++.pt/t39.C | 1 + gcc/testsuite/g++.old-deja/g++.robertl/eb17.C | 1 + gcc/testsuite/gcc.dg/charset/builtin2.c | 2 +- gcc/testsuite/gcc.dg/format/opt-1.c | 2 +- gcc/testsuite/gcc.dg/format/opt-2.c | 2 +- gcc/testsuite/gcc.dg/format/opt-3.c | 2 +- gcc/testsuite/gcc.dg/format/opt-4.c | 2 +- gcc/testsuite/gcc.dg/format/opt-5.c | 2 +- gcc/testsuite/gcc.dg/format/opt-6.c | 2 +- gcc/testsuite/gcc.dg/ipa/ipa-sra-1.c | 2 +- gcc/testsuite/gcc.dg/matrix/matrix-2.c | 2 +- gcc/testsuite/gcc.dg/packed-vla.c | 2 +- gcc/testsuite/gcc.dg/pch/inline-4.c | 2 ++ gcc/testsuite/gcc.dg/pr30473.c | 2 +- gcc/testsuite/gcc.dg/pr38902.c | 2 +- 40 files changed, 42 insertions(+), 14 deletions(-) --- a/gcc/testsuite/g++.dg/abi/pragma-pack1.C +++ b/gcc/testsuite/g++.dg/abi/pragma-pack1.C @@ -1,3 +1,4 @@ +/* { dg-options "-Wformat=3D0" } */ // PR c++/7046 =20 extern "C" int printf (const char *, ...); --- a/gcc/testsuite/g++.dg/ext/align1.C +++ b/gcc/testsuite/g++.dg/ext/align1.C @@ -1,3 +1,5 @@ +/* { dg-options "-Wformat=3D0" } */ + // Test that __attribute__ ((aligned)) is preserved. // The alignment used to be 64 but Cygwin does not // support an alignment greater than 16 and COFF=20 --- a/gcc/testsuite/g++.dg/opt/alias2.C +++ b/gcc/testsuite/g++.dg/opt/alias2.C @@ -1,5 +1,5 @@ // { dg-do run } -// { dg-options "-O2" } +// { dg-options "-O2 -Wformat=3D0" } =20 extern "C" int printf (const char*, ...); =20 --- a/gcc/testsuite/g++.old-deja/g++.abi/vbase1.C +++ b/gcc/testsuite/g++.old-deja/g++.abi/vbase1.C @@ -1,4 +1,5 @@ // { dg-do run } +/* { dg-options "-Wformat=3D0" } */ // Copyright (C) 2000 Free Software Foundation, Inc. // Contributed by Nathan Sidwell 16 Jan 2001 =20 --- a/gcc/testsuite/g++.old-deja/g++.brendan/template8.C +++ b/gcc/testsuite/g++.old-deja/g++.brendan/template8.C @@ -1,4 +1,5 @@ // { dg-do assemble } +/* { dg-options "-Wformat=3D0" } */ // GROUPS passed templates #include =20 --- a/gcc/testsuite/g++.old-deja/g++.jason/access23.C +++ b/gcc/testsuite/g++.old-deja/g++.jason/access23.C @@ -1,4 +1,5 @@ // { dg-do assemble } +/* { dg-options "-Wformat=3D0" } */ // PRMS Id: 9127 // Bug: members of anonymous unions are not access-controlled. =20 --- a/gcc/testsuite/g++.old-deja/g++.law/cvt8.C +++ b/gcc/testsuite/g++.old-deja/g++.law/cvt8.C @@ -1,4 +1,5 @@ // { dg-do assemble } +/* { dg-options "-Wformat=3D0" } */ // GROUPS passed conversions // cvt file // From: solomon@cs.wisc.edu (Marvin Solomon) --- a/gcc/testsuite/g++.old-deja/g++.law/operators28.C +++ b/gcc/testsuite/g++.old-deja/g++.law/operators28.C @@ -1,4 +1,5 @@ // { dg-do assemble } +/* { dg-options "-Wformat=3D0" } */ // GROUPS passed operators #include #include --- a/gcc/testsuite/g++.old-deja/g++.mike/net35.C +++ b/gcc/testsuite/g++.old-deja/g++.mike/net35.C @@ -1,4 +1,5 @@ // { dg-do run } +/* { dg-options "-Wformat=3D0" } */ extern "C" int printf(const char *, ...); =20 class A { --- a/gcc/testsuite/g++.old-deja/g++.mike/offset1.C +++ b/gcc/testsuite/g++.old-deja/g++.mike/offset1.C @@ -1,4 +1,5 @@ // { dg-do run } +/* { dg-options "-Wformat=3D0" } */ extern "C" int printf(const char *, ...); void *vp; int fail =3D 0; --- a/gcc/testsuite/g++.old-deja/g++.mike/p12306.C +++ b/gcc/testsuite/g++.old-deja/g++.mike/p12306.C @@ -1,4 +1,5 @@ // { dg-do run } +/* { dg-options "-Wformat=3D0" } */ // prms-id: 12306 =20 void *ptr1, *ptr2; --- a/gcc/testsuite/g++.old-deja/g++.mike/p3579.C +++ b/gcc/testsuite/g++.old-deja/g++.mike/p3579.C @@ -1,4 +1,5 @@ // { dg-do run } +/* { dg-options "-Wformat=3D0" } */ // prms-id: 3579 =20 extern "C" int printf(const char *, ...); --- a/gcc/testsuite/g++.old-deja/g++.mike/p3708.C +++ b/gcc/testsuite/g++.old-deja/g++.mike/p3708.C @@ -1,4 +1,5 @@ // { dg-do run } +/* { dg-options "-Wformat=3D0" } */ // prms-id: 3708 =20 extern "C" int printf (const char *, ...); --- a/gcc/testsuite/g++.old-deja/g++.mike/p3708a.C +++ b/gcc/testsuite/g++.old-deja/g++.mike/p3708a.C @@ -1,4 +1,5 @@ // { dg-do run } +/* { dg-options "-Wformat=3D0" } */ // prms-id: 3708 =20 extern "C" int printf (const char *, ...); --- a/gcc/testsuite/g++.old-deja/g++.mike/p3708b.C +++ b/gcc/testsuite/g++.old-deja/g++.mike/p3708b.C @@ -1,4 +1,5 @@ // { dg-do run } +/* { dg-options "-Wformat=3D0" } */ // prms-id: 3708 =20 extern "C" int printf (const char *, ...); --- a/gcc/testsuite/g++.old-deja/g++.mike/p646.C +++ b/gcc/testsuite/g++.old-deja/g++.mike/p646.C @@ -1,5 +1,5 @@ // { dg-do assemble } -// { dg-options "-Wno-deprecated -Wreturn-type" } +// { dg-options "-Wno-deprecated -Wreturn-type -Wformat=3D0" } // GROUPS passed i960 /* Bug Id: bnr --- a/gcc/testsuite/g++.old-deja/g++.mike/p710.C +++ b/gcc/testsuite/g++.old-deja/g++.mike/p710.C @@ -1,4 +1,5 @@ // { dg-do assemble } +/* { dg-options "-Wformat=3D0" } */ // GROUPS passed delete /* Bug Id:=20 --- a/gcc/testsuite/g++.old-deja/g++.mike/p789a.C +++ b/gcc/testsuite/g++.old-deja/g++.mike/p789a.C @@ -1,4 +1,5 @@ // { dg-do run } +/* { dg-options "-Wformat=3D0" } */ // global and local multidimensional array objects are not getting // constructors called on any dimension, other than the first. Also, // the destructors are not being called. Seems odd, they probably --- a/gcc/testsuite/g++.old-deja/g++.mike/pmf2.C +++ b/gcc/testsuite/g++.old-deja/g++.mike/pmf2.C @@ -1,4 +1,5 @@ // { dg-do run } +/* { dg-options "-Wformat=3D0" } */ extern "C" int printf(const char *, ...); =20 class A_table { --- a/gcc/testsuite/g++.old-deja/g++.mike/temp.C +++ b/gcc/testsuite/g++.old-deja/g++.mike/temp.C @@ -1,4 +1,5 @@ // { dg-do run } +/* { dg-options "-Wformat=3D0" } */ extern "C" int printf(const char *, ...); extern "C" const char *getenv(const char *); =20 --- a/gcc/testsuite/g++.old-deja/g++.other/virtual8.C +++ b/gcc/testsuite/g++.old-deja/g++.other/virtual8.C @@ -1,4 +1,5 @@ // { dg-do run } +/* { dg-options "-Wformat=3D0" } */ extern "C" int printf (const char*, ...); =20 struct A --- a/gcc/testsuite/g++.old-deja/g++.pt/memtemp23.C +++ b/gcc/testsuite/g++.old-deja/g++.pt/memtemp23.C @@ -1,4 +1,5 @@ // { dg-do link } +/* { dg-options "-Wformat=3D0" } */ // GROUPS passed templates membertemplates extern "C" int printf(const char*, ...); =20 --- a/gcc/testsuite/g++.old-deja/g++.pt/memtemp24.C +++ b/gcc/testsuite/g++.old-deja/g++.pt/memtemp24.C @@ -1,4 +1,5 @@ // { dg-do link } +/* { dg-options "-Wformat=3D0" } */ // GROUPS passed templates membertemplates extern "C" int printf(const char*, ...); =20 --- a/gcc/testsuite/g++.old-deja/g++.pt/memtemp25.C +++ b/gcc/testsuite/g++.old-deja/g++.pt/memtemp25.C @@ -1,4 +1,5 @@ // { dg-do link } +/* { dg-options "-Wformat=3D0" } */ // GROUPS passed templates membertemplates extern "C" int printf(const char*, ...); =20 --- a/gcc/testsuite/g++.old-deja/g++.pt/memtemp26.C +++ b/gcc/testsuite/g++.old-deja/g++.pt/memtemp26.C @@ -1,4 +1,5 @@ // { dg-do link } +/* { dg-options "-Wformat=3D0" } */ // GROUPS passed templates membertemplates extern "C" int printf(const char*, ...); =20 --- a/gcc/testsuite/g++.old-deja/g++.pt/t39.C +++ b/gcc/testsuite/g++.old-deja/g++.pt/t39.C @@ -1,4 +1,5 @@ // { dg-do run } +/* { dg-options "-Wformat=3D0" } */ extern "C" int printf (const char *, ...); =20 template --- a/gcc/testsuite/g++.old-deja/g++.robertl/eb17.C +++ b/gcc/testsuite/g++.old-deja/g++.robertl/eb17.C @@ -1,4 +1,5 @@ // { dg-do run } +/* { dg-options "-Wformat=3D0" } */ #include =20 class A { --- a/gcc/testsuite/gcc.dg/charset/builtin2.c +++ b/gcc/testsuite/gcc.dg/charset/builtin2.c @@ -3,7 +3,7 @@ =20 /* { dg-do compile } */ /* { dg-require-iconv "IBM1047" } */ -/* { dg-options "-O2 -fexec-charset=3DIBM1047" } */ +/* { dg-options "-O2 -fexec-charset=3DIBM1047 -Wformat=3D0" } */ /* { dg-final { scan-assembler-not "printf" } } */ /* { dg-final { scan-assembler-not "fprintf" } } */ /* { dg-final { scan-assembler-not "sprintf" } } */ --- a/gcc/testsuite/gcc.dg/format/opt-1.c +++ b/gcc/testsuite/gcc.dg/format/opt-1.c @@ -2,6 +2,6 @@ -Wformat. -Wformat-extra-args. */ /* Origin: Joseph Myers */ /* { dg-do compile } */ -/* { dg-options "-Wformat-extra-args" } */ +/* { dg-options "-Wformat=3D0 -Wformat-extra-args" } */ =20 /* { dg-warning "-Wformat-extra-args ignored without -Wformat" "ignored"= { target *-*-* } 0 } */ --- a/gcc/testsuite/gcc.dg/format/opt-2.c +++ b/gcc/testsuite/gcc.dg/format/opt-2.c @@ -2,6 +2,6 @@ -Wformat. -Wformat-nonliteral. */ /* Origin: Joseph Myers */ /* { dg-do compile } */ -/* { dg-options "-Wformat-nonliteral" } */ +/* { dg-options "-Wformat=3D0 -Wformat-nonliteral" } */ =20 /* { dg-warning "-Wformat-nonliteral ignored without -Wformat" "ignored"= { target *-*-* } 0 } */ --- a/gcc/testsuite/gcc.dg/format/opt-3.c +++ b/gcc/testsuite/gcc.dg/format/opt-3.c @@ -2,6 +2,6 @@ -Wformat. -Wformat-security. */ /* Origin: Joseph Myers */ /* { dg-do compile } */ -/* { dg-options "-Wformat-security" } */ +/* { dg-options "-Wformat=3D0 -Wformat-security" } */ =20 /* { dg-warning "-Wformat-security ignored without -Wformat" "ignored" {= target *-*-* } 0 } */ --- a/gcc/testsuite/gcc.dg/format/opt-4.c +++ b/gcc/testsuite/gcc.dg/format/opt-4.c @@ -2,6 +2,6 @@ -Wformat. -Wformat-y2k. */ /* Origin: Joseph Myers */ /* { dg-do compile } */ -/* { dg-options "-Wformat-y2k" } */ +/* { dg-options "-Wformat=3D0 -Wformat-y2k" } */ =20 /* { dg-warning "-Wformat-y2k ignored without -Wformat" "ignored" { targ= et *-*-* } 0 } */ --- a/gcc/testsuite/gcc.dg/format/opt-5.c +++ b/gcc/testsuite/gcc.dg/format/opt-5.c @@ -2,6 +2,6 @@ -Wformat. -Wformat-zero-length. */ /* Origin: Joseph Myers */ /* { dg-do compile } */ -/* { dg-options "-Wformat-zero-length" } */ +/* { dg-options "-Wformat=3D0 -Wformat-zero-length" } */ =20 /* { dg-warning "-Wformat-zero-length ignored without -Wformat" "ignored= " { target *-*-* } 0 } */ --- a/gcc/testsuite/gcc.dg/format/opt-6.c +++ b/gcc/testsuite/gcc.dg/format/opt-6.c @@ -2,6 +2,6 @@ -Wformat. -Wformat-contains-nul. */ /* Origin: Bruce Korb */ /* { dg-do compile } */ -/* { dg-options "-Wformat-contains-nul" } */ +/* { dg-options "-Wformat=3D0 -Wformat-contains-nul" } */ =20 /* { dg-warning "-Wformat-contains-nul ignored without -Wformat" "ignore= d" { target *-*-* } 0 } */ --- a/gcc/testsuite/gcc.dg/ipa/ipa-sra-1.c +++ b/gcc/testsuite/gcc.dg/ipa/ipa-sra-1.c @@ -1,5 +1,5 @@ /* { dg-do run } */ -/* { dg-options "-O2 -fipa-sra -fdump-tree-eipa_sra-details" } */ +/* { dg-options "-O2 -fipa-sra -fdump-tree-eipa_sra-details -Wformat=3D0= " } */ =20 struct bovid { --- a/gcc/testsuite/gcc.dg/matrix/matrix-2.c +++ b/gcc/testsuite/gcc.dg/matrix/matrix-2.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ /* { dg-do run } */ - +/* { dg-options "-Wformat=3D0" } */ =20 #include #include --- a/gcc/testsuite/gcc.dg/packed-vla.c +++ b/gcc/testsuite/gcc.dg/packed-vla.c @@ -1,6 +1,6 @@ /* PR middle-end/27945 */ /* { dg-do run } */ -/* { dg-options "" } */ +/* { dg-options "-Wformat=3D0" } */ =20 extern int printf (const char *, ...); extern void abort (); --- a/gcc/testsuite/gcc.dg/pch/inline-4.c +++ b/gcc/testsuite/gcc.dg/pch/inline-4.c @@ -1,3 +1,5 @@ +/* { dg-options "-Wformat=3D0" } */ + #include "inline-4.h" extern int printf (const char *, ...); int main(void) { --- a/gcc/testsuite/gcc.dg/pr30473.c +++ b/gcc/testsuite/gcc.dg/pr30473.c @@ -1,7 +1,7 @@ /* PR middle-end/30473 */ /* Make sure this doesn't ICE. */ /* { dg-do compile } */ -/* { dg-options "-O2" } */ +/* { dg-options "-O2 -Wformat=3D0" } */ =20 extern int sprintf (char *, const char *, ...); =20 --- a/gcc/testsuite/gcc.dg/pr38902.c +++ b/gcc/testsuite/gcc.dg/pr38902.c @@ -1,6 +1,6 @@ /* PR target/38902 */ /* { dg-do run } */ -/* { dg-options "-O2 -fstack-protector" } */ +/* { dg-options "-O2 -fstack-protector -Wformat=3D0" } */ /* { dg-require-effective-target fstack_protector } */ =20 #ifdef DEBUG 1.1 src/patchsets/gcc/4.5.2/gentoo/99_all_testsuite-02-W= trampolines.patch file : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/4.5.= 2/gentoo/99_all_testsuite-02-Wtrampolines.patch?rev=3D1.1&view=3Dmarkup plain: http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/4.5.= 2/gentoo/99_all_testsuite-02-Wtrampolines.patch?rev=3D1.1&content-type=3D= text/plain Index: 99_all_testsuite-02-Wtrampolines.patch =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Workaround testsuite failures caused by enabling -Wtrampolines by defaul= t. =20 gcc/testsuite/gcc.dg/20050607-1.c | 2 +- gcc/testsuite/gcc.dg/debug/debug-3.c | 1 + gcc/testsuite/gcc.dg/debug/debug-5.c | 1 + gcc/testsuite/gcc.dg/nested-func-5.c | 2 +- gcc/testsuite/gcc.dg/pr34457-1.c | 2 +- gcc/testsuite/gcc.dg/torture/nested-fn-1.c | 2 +- gcc/testsuite/gcc.dg/torture/stackalign/nested-5.c | 1 + gcc/testsuite/gcc.dg/torture/stackalign/nested-6.c | 1 + gcc/testsuite/gcc.dg/trampoline-1.c | 2 +- 9 files changed, 9 insertions(+), 5 deletions(-) --- a/gcc/testsuite/gcc.dg/20050607-1.c +++ b/gcc/testsuite/gcc.dg/20050607-1.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ /* { dg-require-effective-target trampolines } */ -/* { dg-options "-Wpadded" } +/* { dg-options "-Wpadded -Wno-trampolines" } /* The struct internally constructed for the nested function should not result in a warning from -Wpadded. */ extern int baz(int (*) (int)); --- a/gcc/testsuite/gcc.dg/debug/debug-3.c +++ b/gcc/testsuite/gcc.dg/debug/debug-3.c @@ -2,6 +2,7 @@ (spanned 0 basic blocks) and DWARF-2 couldn't find baz origin. */ /* { dg-do compile } */ /* { dg-require-effective-target trampolines } */ +/* { dg-options "-Wno-trampolines" } */ =20 struct A { char *a, *b, *c, *d; }; =20 --- a/gcc/testsuite/gcc.dg/debug/debug-5.c +++ b/gcc/testsuite/gcc.dg/debug/debug-5.c @@ -2,6 +2,7 @@ (spanned 0 basic blocks) and DWARF-2 couldn't find baz origin. */ /* { dg-do compile } */ /* { dg-require-effective-target trampolines } */ +/* { dg-options "-Wno-trampolines" } */ =20 extern void abort (void); =20 --- a/gcc/testsuite/gcc.dg/nested-func-5.c +++ b/gcc/testsuite/gcc.dg/nested-func-5.c @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-options "-fexceptions" } */ +/* { dg-options "-fexceptions -Wno-trampolines" } */ /* PR28516: ICE generating ARM unwind directives for nested functions. = */ /* { dg-require-effective-target trampolines } */ =20 --- a/gcc/testsuite/gcc.dg/pr34457-1.c +++ b/gcc/testsuite/gcc.dg/pr34457-1.c @@ -1,7 +1,7 @@ /* PR c/34457 */ /* { dg-do compile } */ /* { dg-require-effective-target trampolines } */ -/* { dg-options "--combine -O2" } */ +/* { dg-options "--combine -O2 -Wno-trampolines" } */ /* { dg-additional-sources "pr34457-2.c" } */ =20 =20 --- a/gcc/testsuite/gcc.dg/torture/nested-fn-1.c +++ b/gcc/testsuite/gcc.dg/torture/nested-fn-1.c @@ -1,7 +1,7 @@ /* PR middle-end/15345, c/16450 */ /* Test whether unused nested functions aren't emitted into the assembly= . */ /* { dg-do compile } */ -/* { dg-options "-g0" } */ +/* { dg-options "-g0 -Wno-trampolines" } */ /* { dg-require-effective-target trampolines } */ =20 int --- a/gcc/testsuite/gcc.dg/torture/stackalign/nested-5.c +++ b/gcc/testsuite/gcc.dg/torture/stackalign/nested-5.c @@ -1,4 +1,5 @@ /* { dg-do run } */ +/* { dg-options "-Wno-trampolines" } */ =20 extern void abort (void); extern void exit (int); --- a/gcc/testsuite/gcc.dg/torture/stackalign/nested-6.c +++ b/gcc/testsuite/gcc.dg/torture/stackalign/nested-6.c @@ -1,4 +1,5 @@ /* { dg-do run } */ +/* { dg-options "-Wno-trampolines" } */ =20 #ifndef NO_TRAMPOLINES =20 --- a/gcc/testsuite/gcc.dg/trampoline-1.c +++ b/gcc/testsuite/gcc.dg/trampoline-1.c @@ -3,7 +3,7 @@ =20 /* { dg-do run } */ /* { dg-require-effective-target trampolines } */ -/* { dg-options "-O2" } */ +/* { dg-options "-O2 -Wno-trampolines" } */ =20 #ifndef NO_TRAMPOLINES =20