From patchwork Mon Nov 4 12:18:58 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Tobias Burnus X-Patchwork-Id: 1188911 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=gcc-patches-return-512302-incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=codesourcery.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="qytVnvV7"; dkim-atps=neutral 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 476Bg736nbz9sPJ for ; Mon, 4 Nov 2019 23:19:13 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:to :from:subject:message-id:date:mime-version:content-type; q=dns; s=default; b=sJEsfFHLA3SqMIM9LWYz6bypneR2h7zSzLJbXkpDni7aHBqclF X0TqXQlFA3hEZnlp5PxjZYywHGqvIQGuw+njAXTRIHQmX7y1TKXs2Ze5W3ukKw3b pTaBV2rEGDZ85wW3OqAGJVPl0j9me3Sft+TmQZeswEiwitLrtWKgu9N+w= 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:to :from:subject:message-id:date:mime-version:content-type; s= default; bh=scnz+4deA17jk3PsCLctf1bOcO8=; b=qytVnvV7ZCwmQSaUo4LC y84UqkqGV5TKWyrBZuWmX1HIdf39IyxHJhaGXBXOGPmLf/TiSgMATh0lGxoANy3q gZkvRuFMEhUA/XRXZHzrNnkl7lAD/kd8Ag23SrxMhdNhYfyRHOO/hBxAndE5HJl3 q9N/LGbYsIvqbecpHhBdfrM= Received: (qmail 83199 invoked by alias); 4 Nov 2019 12:19:05 -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 83189 invoked by uid 89); 4 Nov 2019 12:19:05 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-17.9 required=5.0 tests=AWL, BAYES_00, GARBLED_SUBJECT, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3 autolearn=ham version=3.3.1 spammy= X-HELO: esa4.mentor.iphmx.com Received: from esa4.mentor.iphmx.com (HELO esa4.mentor.iphmx.com) (68.232.137.252) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 04 Nov 2019 12:19:04 +0000 IronPort-SDR: vfdwDiO+y0UEDwXR1uIlt8OuQ+UcEThXHBlIFMTfF1PCZHW7LnN/QB/0UUXyvDHK7sysx5+8PX PcpBxZKXv1gOrPjKA5CQ0K44eKWGIsyxlMl1yujIpjhQn6Fh9ReI/udU+6DnX7eHSwPcf52KVG Sbt7LEFoeH662FI56fYrUMH/oYon5w71zMCBi9kAZRGv/58yiZ7QYs93dVJ7/DM87DxpSkGt+R C7chtITVG1cYWmNdBJfbQoRyLQNx/82jSeZdx73foSy7uWwPntVGvQDFvtp/ABSBHLmpEzAH01 oB4= Received: from orw-gwy-01-in.mentorg.com ([192.94.38.165]) by esa4.mentor.iphmx.com with ESMTP; 04 Nov 2019 04:19:02 -0800 IronPort-SDR: Zoc0WmDcalABJu7l/pNwwYzxSsJ2Mv+tZafLDammFwDL5XCLGA7dJfKt17IMc1MVqN8KiTBrGo eGR8u2uBW4XfGp8z0aMlXiBvKOZLPQjBIeASKR+kQB1PoSuS/03DWcPeDeXYCWDareKP+nBd1x mwuJkerkCLZ24Gpgm86o1DYjfPp7PZuqMpLCggykZ4hElbAOFKsET15SXicfHuVttv62WwYFQR d9st9HgctqyblXcx9PekeqlCpuZTuADgMZYvfO0zKM6UgbUu9gg2uMXf/TayzS2L7T6YWUqpri bRs= To: Jakub Jelinek , gcc-patches From: Tobias Burnus Subject: =?utf-8?q?=5Bpatch=5D_testsuite/libgomp=2Efortran/pr66199-2=2Ef9?= =?utf-8?q?0_=E2=80=93_remove_dg-options?= Message-ID: <657de55b-a1ec-c46b-f76b-5ef97483303d@codesourcery.com> Date: Mon, 4 Nov 2019 13:18:58 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.0 MIME-Version: 1.0 X-IsSubscribed: yes This test case had from the beginning both ! { dg-do run } ! { dg-options "-O2" } However, 'dg-do run' implies torture, i.e. multiple optimization options, while 'dg-options "-O2"' implies -O2, only. This means that the test case is compiled 4 times with "-O0", "-O1", "-O3 -f…" and "-Os" – followed by "-O2". Hence, it is run 4 times with nearly identical options (With "-O3" [followed by "-O2"], the "-fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-functions" options do get added.) Hence, we can either remove "dg-do run" or "dg-options". I suggest to remove the latter. OK? Tobias 2019-11-04 Tobias Burnus * testsuite/libgomp.fortran/pr66199-2.f90: Remove dg-options from torture test. diff --git a/libgomp/testsuite/libgomp.fortran/pr66199-2.f90 b/libgomp/testsuite/libgomp.fortran/pr66199-2.f90 index 0cc0fa5097f..5ee74149089 100644 --- a/libgomp/testsuite/libgomp.fortran/pr66199-2.f90 +++ b/libgomp/testsuite/libgomp.fortran/pr66199-2.f90 @@ -1,6 +1,5 @@ ! PR middle-end/66199 ! { dg-do run } -! { dg-options "-O2" } integer :: u(1024), v(1024), w(1024), a, b, c, d, e, a1, b1, a2, b2, d1, d2 a = 1