From patchwork Fri Jun 5 22:10:00 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom de Vries X-Patchwork-Id: 481577 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 08CCB140218 for ; Sat, 6 Jun 2015 08:10:31 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b=T+HXtG7X; dkim-atps=neutral DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :message-id:date:from:mime-version:to:cc:subject:content-type; q=dns; s=default; b=f0WtbJRL9TXJtWx1oueKNtQRqsYDlpcLBxjeHXsqKhC HWot2wMa9XBsry+/0fI99KQm3qo9S/3Ae850zVU+HZQkVPp4ETBCoclxoemQ5wF4 z1QFD2iIGzeIzZijnJRlX0H47yQWiW0PzJkIJb6ctNdO8L1sdSlXV8917JvSKslY = DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :message-id:date:from:mime-version:to:cc:subject:content-type; s=default; bh=xPnjJktPa542ChKaFwoc7FvxIpU=; b=T+HXtG7XRLxdmrrdF zqe+Y8PfsYM4vWDN6m3X9l7Mw61DsPGi5G9Rs+HhyEvcYXVA2SQbfrrp8j4TsUGp S5Yy51A8nSaMf7CdRDaeNnC9p07M6f2WZIt26bxlEg5bMpWQenyIfBmD6PcGfDAt 4eMsOl53i0Vy9Cs5PyuCIO1Vzc= Received: (qmail 50354 invoked by alias); 5 Jun 2015 22:10:23 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 50272 invoked by uid 89); 5 Jun 2015 22:10:17 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.0 required=5.0 tests=AWL, BAYES_40, SPF_PASS, T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: fencepost.gnu.org Received: from fencepost.gnu.org (HELO fencepost.gnu.org) (208.118.235.10) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Fri, 05 Jun 2015 22:10:15 +0000 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34051) by fencepost.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1Z0zob-0004XD-F3 for gcc-patches@gnu.org; Fri, 05 Jun 2015 18:10:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z0zoX-0006ER-J4 for gcc-patches@gnu.org; Fri, 05 Jun 2015 18:10:12 -0400 Received: from relay1.mentorg.com ([192.94.38.131]:33095) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z0zoX-0006EC-At for gcc-patches@gnu.org; Fri, 05 Jun 2015 18:10:09 -0400 Received: from nat-ies.mentorg.com ([192.94.31.2] helo=SVR-IES-FEM-01.mgc.mentorg.com) by relay1.mentorg.com with esmtp id 1Z0zoW-0000Xz-Ic from Tom_deVries@mentor.com ; Fri, 05 Jun 2015 15:10:08 -0700 Received: from [127.0.0.1] (137.202.0.76) by SVR-IES-FEM-01.mgc.mentorg.com (137.202.0.104) with Microsoft SMTP Server id 14.3.224.2; Fri, 5 Jun 2015 23:10:06 +0100 Message-ID: <55721E38.3060807@mentor.com> Date: Sat, 6 Jun 2015 00:10:00 +0200 From: Tom de Vries User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Jakub Jelinek CC: Subject: [patch, testsuite] Remove -fopenmp in dg-options in libgomp.c X-detected-operating-system: by eggs.gnu.org: Windows NT kernel [generic] [fuzzy] X-Received-From: 192.94.38.131 Hi, this patch removes superfluous -fopenmp settings. In the case of target-8.c, we remove the whole dg-options line which did not have an -On setting, which means the optimization level at which the testcase compiles is changed from -O0 to the default -O2. Tested with a c build. OK for trunk? Thanks, - Tom Remove -fopenmp in dg-options in libgomp.c 2015-06-05 Tom de Vries * testsuite/libgomp.c/atomic-18.c: Remove superfluous -fopenmp setting in dg-options. * testsuite/libgomp.c/atomic-3.c: Same. * testsuite/libgomp.c/debug-1.c: Same. * testsuite/libgomp.c/nqueens-1.c: Same. * testsuite/libgomp.c/pr26171.c: Same. * testsuite/libgomp.c/pr48591.c: Same. * testsuite/libgomp.c/pr64824.c: Same. * testsuite/libgomp.c/pr64868.c: Same. * testsuite/libgomp.c/pr66133.c: Same. * testsuite/libgomp.c/pr66199-1.c: Same. * testsuite/libgomp.c/pr66199-2.c: Same. * testsuite/libgomp.c/target-8.c: Same. --- libgomp/testsuite/libgomp.c/atomic-18.c | 1 - libgomp/testsuite/libgomp.c/atomic-3.c | 2 +- libgomp/testsuite/libgomp.c/debug-1.c | 2 +- libgomp/testsuite/libgomp.c/nqueens-1.c | 1 - libgomp/testsuite/libgomp.c/pr26171.c | 2 +- libgomp/testsuite/libgomp.c/pr48591.c | 2 +- libgomp/testsuite/libgomp.c/pr64824.c | 1 - libgomp/testsuite/libgomp.c/pr64868.c | 1 - libgomp/testsuite/libgomp.c/pr66133.c | 1 - libgomp/testsuite/libgomp.c/pr66199-1.c | 1 - libgomp/testsuite/libgomp.c/pr66199-2.c | 1 - libgomp/testsuite/libgomp.c/target-8.c | 1 - 12 files changed, 4 insertions(+), 12 deletions(-) diff --git a/libgomp/testsuite/libgomp.c/atomic-18.c b/libgomp/testsuite/libgomp.c/atomic-18.c index bd048c1..4f7361e 100644 --- a/libgomp/testsuite/libgomp.c/atomic-18.c +++ b/libgomp/testsuite/libgomp.c/atomic-18.c @@ -1,6 +1,5 @@ /* PR c/64824 */ /* { dg-do run } */ -/* { dg-options "-O2 -fopenmp" } */ void f1 (void) diff --git a/libgomp/testsuite/libgomp.c/atomic-3.c b/libgomp/testsuite/libgomp.c/atomic-3.c index 5b8fdc1..818242d 100644 --- a/libgomp/testsuite/libgomp.c/atomic-3.c +++ b/libgomp/testsuite/libgomp.c/atomic-3.c @@ -1,5 +1,5 @@ /* { dg-do run } */ -/* { dg-options "-fopenmp -O0" } */ +/* { dg-options "-O0" } */ #include #include diff --git a/libgomp/testsuite/libgomp.c/debug-1.c b/libgomp/testsuite/libgomp.c/debug-1.c index 09bcf7f..8fa9b54 100644 --- a/libgomp/testsuite/libgomp.c/debug-1.c +++ b/libgomp/testsuite/libgomp.c/debug-1.c @@ -1,6 +1,6 @@ /* PR debug/36617 */ /* { dg-do run } */ -/* { dg-options "-g -fopenmp -O0" } */ +/* { dg-options "-g -O0" } */ int f1 (void) diff --git a/libgomp/testsuite/libgomp.c/nqueens-1.c b/libgomp/testsuite/libgomp.c/nqueens-1.c index 9742b7a..db5517f 100644 --- a/libgomp/testsuite/libgomp.c/nqueens-1.c +++ b/libgomp/testsuite/libgomp.c/nqueens-1.c @@ -1,5 +1,4 @@ /* { dg-do run } */ -/* { dg-options "-O2 -fopenmp" } */ /* { dg-require-effective-target tls_runtime } */ #include diff --git a/libgomp/testsuite/libgomp.c/pr26171.c b/libgomp/testsuite/libgomp.c/pr26171.c index eacc9a7..322a0c7 100644 --- a/libgomp/testsuite/libgomp.c/pr26171.c +++ b/libgomp/testsuite/libgomp.c/pr26171.c @@ -1,6 +1,6 @@ /* PR c/26171 */ /* { dg-do run } */ -/* { dg-options "-fopenmp" } */ +/* { dg-options "-O0" } */ /* { dg-require-effective-target tls_runtime } */ int thrv = 0; diff --git a/libgomp/testsuite/libgomp.c/pr48591.c b/libgomp/testsuite/libgomp.c/pr48591.c index 8df97f1..2f617af 100644 --- a/libgomp/testsuite/libgomp.c/pr48591.c +++ b/libgomp/testsuite/libgomp.c/pr48591.c @@ -1,6 +1,6 @@ /* PR middle-end/48591 */ /* { dg-do run { target i?86-*-linux* i?86-*-gnu* x86_64-*-linux* ia64-*-linux* x86_64-*-freebsd* } } */ -/* { dg-options "-fopenmp" } */ +/* { dg-options "-O0" } */ extern void abort (void); diff --git a/libgomp/testsuite/libgomp.c/pr64824.c b/libgomp/testsuite/libgomp.c/pr64824.c index 544d0b0..b39675b 100644 --- a/libgomp/testsuite/libgomp.c/pr64824.c +++ b/libgomp/testsuite/libgomp.c/pr64824.c @@ -1,6 +1,5 @@ /* PR c/64824 */ /* { dg-do run } */ -/* { dg-options "-O2 -fopenmp" } */ int main () diff --git a/libgomp/testsuite/libgomp.c/pr64868.c b/libgomp/testsuite/libgomp.c/pr64868.c index acdf998..f93caf2 100644 --- a/libgomp/testsuite/libgomp.c/pr64868.c +++ b/libgomp/testsuite/libgomp.c/pr64868.c @@ -1,6 +1,5 @@ /* PR c/64868 */ /* { dg-do run } */ -/* { dg-options "-O2 -fopenmp" } */ float f = 2.0f; double d = 4.0; diff --git a/libgomp/testsuite/libgomp.c/pr66133.c b/libgomp/testsuite/libgomp.c/pr66133.c index e98e5aa..90685cd 100644 --- a/libgomp/testsuite/libgomp.c/pr66133.c +++ b/libgomp/testsuite/libgomp.c/pr66133.c @@ -1,6 +1,5 @@ /* PR middle-end/66133 */ /* { dg-do run } */ -/* { dg-options "-O2 -fopenmp" } */ #include #include diff --git a/libgomp/testsuite/libgomp.c/pr66199-1.c b/libgomp/testsuite/libgomp.c/pr66199-1.c index 6fd9f87..20482a4 100644 --- a/libgomp/testsuite/libgomp.c/pr66199-1.c +++ b/libgomp/testsuite/libgomp.c/pr66199-1.c @@ -1,6 +1,5 @@ /* PR middle-end/66199 */ /* { dg-do run } */ -/* { dg-options "-O2 -fopenmp" } */ int u[1024], v[1024], w[1024]; diff --git a/libgomp/testsuite/libgomp.c/pr66199-2.c b/libgomp/testsuite/libgomp.c/pr66199-2.c index dbcd701..ddb79de 100644 --- a/libgomp/testsuite/libgomp.c/pr66199-2.c +++ b/libgomp/testsuite/libgomp.c/pr66199-2.c @@ -1,6 +1,5 @@ /* PR middle-end/66199 */ /* { dg-do run } */ -/* { dg-options "-O2 -fopenmp" } */ #pragma omp declare target int u[1024], v[1024], w[1024]; diff --git a/libgomp/testsuite/libgomp.c/target-8.c b/libgomp/testsuite/libgomp.c/target-8.c index 3508457..5fe0db9 100644 --- a/libgomp/testsuite/libgomp.c/target-8.c +++ b/libgomp/testsuite/libgomp.c/target-8.c @@ -1,5 +1,4 @@ /* { dg-do run } */ -/* { dg-options "-fopenmp" } */ void foo (int *p) -- 1.9.1