From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 108862 invoked by alias); 30 Mar 2015 17:06:44 -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 108846 invoked by uid 89); 30 Mar 2015 17:06:43 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: nikam.ms.mff.cuni.cz Received: from nikam.ms.mff.cuni.cz (HELO nikam.ms.mff.cuni.cz) (195.113.20.16) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Mon, 30 Mar 2015 17:06:42 +0000 Received: by nikam.ms.mff.cuni.cz (Postfix, from userid 16202) id 734CF547146; Mon, 30 Mar 2015 19:06:39 +0200 (CEST) Date: Mon, 30 Mar 2015 17:06:00 -0000 From: Jan Hubicka To: Ilya Verbin Cc: Jan Hubicka , gcc-patches@gcc.gnu.org, rguenther@suse.de Subject: Re: Silence merge warnings on artiical types Message-ID: <20150330170639.GD93920@kam.mff.cuni.cz> References: <20150330030257.GA71352@kam.mff.cuni.cz> <20150330153641.GA64930@msticlxl57.ims.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150330153641.GA64930@msticlxl57.ims.intel.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-SW-Source: 2015-03/txt/msg01566.txt.bz2 > On Mon, Mar 30, 2015 at 05:02:57 +0200, Jan Hubicka wrote: > > * lto-symtab.c (lto_symtab_merge_decls_2): Silence warnings on > > artificial decls. > > Shouldn't this patch fix libgomp.c++/target-3.C in an offloading-enabled > configuration? It still fails... > > libgomp/testsuite/libgomp.c++/../libgomp.c/target-2.c:27:13: warning: type 'struct .omp_data_s.7' violates one definition rule [-Wodr] > #pragma omp parallel for reduction(+:s) > ^ > #pragma omp parallel for reduction(+:s) > ^ > double b[3 * x], c[3 * x], d[3 * x], e[3 * x]; > ^ > double b[3 * x], c[3 * x], d[3 * x], e[3 * x]; > ^ No, that is an different warning. Why those types are different? Is this a full warning output? Honza > > -- Ilya