From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27340 invoked by alias); 22 Jul 2010 14:36:57 -0000 Received: (qmail 27329 invoked by uid 22791); 22 Jul 2010 14:36:56 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE X-Spam-Check-By: sourceware.org Received: from mail-vw0-f47.google.com (HELO mail-vw0-f47.google.com) (209.85.212.47) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 22 Jul 2010 14:36:50 +0000 Received: by vws13 with SMTP id 13so210729vws.20 for ; Thu, 22 Jul 2010 07:36:48 -0700 (PDT) MIME-Version: 1.0 Received: by 10.220.98.140 with SMTP id q12mr773406vcn.268.1279809408763; Thu, 22 Jul 2010 07:36:48 -0700 (PDT) Received: by 10.220.190.200 with HTTP; Thu, 22 Jul 2010 07:36:48 -0700 (PDT) In-Reply-To: References: Date: Thu, 22 Jul 2010 14:36:00 -0000 Message-ID: Subject: Re: [PATCH] Add dg-require-linker-plugin From: "H.J. Lu" To: Richard Guenther Cc: gcc-patches@gcc.gnu.org, Jan Hubicka Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org X-SW-Source: 2010-07/txt/msg01744.txt.bz2 On Thu, Jul 22, 2010 at 5:52 AM, Richard Guenther wrote: > > This adds dg-require-linker-plugin support to the testsuite. =A0Simple no= w, > as the lto-plugin is installed into gcc/. =A0I'll add the testcase for > PR43373 as an example. =A0Honza - you didn't yet apply the patch to > fix the wrong-code issue of gcc.dg/lto/20100715-1_[01].c, so I won't > commit that testcase now. > > Committed. > > Richard. > > 2010-07-22 =A0Richard Guenther =A0 > > =A0 =A0 =A0 =A0* lib/target-supports-dg.exp (dg-require-linker-plugin): N= ew proc. This adds dg-require-linker-plugin. > Index: gcc/testsuite/gcc.dg/lto/20100722-1_0.c > =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 > *** /dev/null =A0 1970-01-01 00:00:00.000000000 +0000 > --- gcc/testsuite/gcc.dg/lto/20100722-1_0.c =A0 =A0 2010-07-22 14:36:20.0= 00000000 +0200 > *************** > *** 0 **** > --- 1,6 ---- > + /* { dg-lto-do run } */ > + /* { dg-require-lto-plugin "" } */ This uses dg-require-lto-plugin. Is this a typo? > + /* { dg-extra-ld-options "-fuse-linker-plugin" } */ > + > + int main() { return 0; } > + > --=20 H.J.