From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 102528 invoked by alias); 16 Apr 2019 13:28:56 -0000 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 Received: (qmail 102519 invoked by uid 89); 16 Apr 2019 13:28:56 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-6.1 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_2,GIT_PATCH_3 autolearn=ham version=3.3.1 spammy=avr X-HELO: nef.ens.fr Received: from nef2.ens.fr (HELO nef.ens.fr) (129.199.96.40) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 16 Apr 2019 13:28:55 +0000 X-ENS-nef-client: 129.199.120.1 Received: from mailhost.lps.ens.fr (tournesol.lps.ens.fr [129.199.120.1]) by nef.ens.fr (8.14.4/1.01.28121999) with ESMTP id x3GDSqYX032184 ; Tue, 16 Apr 2019 15:28:52 +0200 Received: from localhost (localhost [127.0.0.1]) by mailhost.lps.ens.fr (Postfix) with ESMTP id 9B76211D; Tue, 16 Apr 2019 15:28:52 +0200 (CEST) Received: from mailhost.lps.ens.fr ([127.0.0.1]) by localhost (tournesol.lps.ens.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cZDOAZcdmgFq; Tue, 16 Apr 2019 15:28:52 +0200 (CEST) Received: from [192.168.1.11] (log78-1-82-242-47-10.fbx.proxad.net [82.242.47.10]) by mailhost.lps.ens.fr (Postfix) with ESMTPSA id 5E4B8FF; Tue, 16 Apr 2019 15:28:52 +0200 (CEST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.8\)) Subject: Re: Fix false -Wodr warnings From: =?utf-8?Q?Dominique_d=27Humi=C3=A8res?= In-Reply-To: <20190416130744.GG21066@tucnak> Date: Tue, 16 Apr 2019 14:18:00 -0000 Cc: Jan Hubicka , gcc-patches , Richard Biener Content-Transfer-Encoding: quoted-printable Message-Id: References: <553C9698-9DAE-4C8F-A7EE-2402EBA68934@lps.ens.fr> <20190416125114.uofbvksbpxbzo5au@kam.mff.cuni.cz> <20190416130744.GG21066@tucnak> To: Jakub Jelinek X-SW-Source: 2019-04/txt/msg00643.txt.bz2 > Le 16 avr. 2019 =C3=A0 15:07, Jakub Jelinek a =C3=A9cr= it : >=20 > On Tue, Apr 16, 2019 at 02:51:14PM +0200, Jan Hubicka wrote: >>> Hi Jan, >>>=20 >>> The test causes >>>=20 >>> WARNING: lto.exp does not support dg-do >>> WARNING: lto.exp does not support dg-options in primary source file >>>=20 >>> This is fixed by the following patch >>>=20 >>> --- ../_clean/gcc/testsuite/g++.dg/lto/pr89358_0.C 2019-04-15 00:04:48.= 000000000 +0200 >>> +++ gcc/testsuite/g++.dg/lto/pr89358_0.C 2019-04-16 13:13:14.000000000 = +0200 >>> @@ -1,5 +1,5 @@ >>> -/* { dg-do link } */ >>> -/* { dg-options "-std=3Dc++17" } */ >>> +/* { dg-lto-do link } */ >>> +/* { dg-lto-options "-std=3Dc++17" } */ >>=20 >> Thanks, this changle is OK. >> Honza Committed as revision r270390 Dominique