From patchwork Mon Sep 27 12:38:56 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Tobias Burnus X-Patchwork-Id: 1533300 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=2620:52:3:1:0:246e:9693:128c; helo=sourceware.org; envelope-from=gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Received: from sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4HJ2Jy1SBMz9t6g for ; Mon, 27 Sep 2021 22:39:46 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id A14783857C5E for ; Mon, 27 Sep 2021 12:39:43 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from esa1.mentor.iphmx.com (esa1.mentor.iphmx.com [68.232.129.153]) by sourceware.org (Postfix) with ESMTPS id B6204385843B; Mon, 27 Sep 2021 12:39:04 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org B6204385843B Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=codesourcery.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=mentor.com IronPort-SDR: g1GIZ3zjUWXPIHk71TuCWuS3/mbvrpUqNUgMbwFxbLewuMpH3DYXvvdBgn/eTZcgm1bhWk0zXg wbZy8ZwyzSUzQ9uJAk6HTC7OhgG2dbPG5Yy11uB5cVu5tRsJib+3fkukeiAky+m2+ll76VoFRx z0EX6EtaJ3voygZf3sweUQa8rD+bFjfhIphNc7jT+o8P5tI+HZdAcrv8sNIdqU66sa8Ekv7Vqe ro4yXzAW6mP+UyT8YLEBpMASFz1kwqe6pTWpoJ+PCYIUeFycs2ZiegevTufqLNWG3kYdbWkUXF +BeH9Kj9ILQColl2uFgffCC/ X-IronPort-AV: E=Sophos;i="5.85,326,1624348800"; d="diff'?scan'208";a="68880644" Received: from orw-gwy-02-in.mentorg.com ([192.94.38.167]) by esa1.mentor.iphmx.com with ESMTP; 27 Sep 2021 04:39:04 -0800 IronPort-SDR: Ya1zxWlwLchOkZCaT567E1Kr6L7c6ZroBcUN97p6ruB0EvkYQm8UWiH6d+nerMn3cPZ9xt6IuJ BhJ+BujTGSMuxoS3aNL4Ppx9i8wVjhoNjCbSixoYBv39nKNDB8Bkvz3+fVLRZEcElEpKobQQul 1dTLXbQj5FWbU+r57zTQEiZM0mZf80OGqPYkij7P53ME2KautKzA1EJg5lTBMA3lzoFOqnYfuo COWxsGZJTgfcqWx7fHAK+Pgq6HtYGdv8vghiXuGaYOpKD+mO8o3YLHOHemEktLHm6t7E+7gypu cmk= Subject: [committed] libgomp.oacc-fortran/privatized-ref-2.f90: Fix dg-note (was: [Patch] Fortran: Fix assumed-size to assumed-rank passing [PR94070]) From: Tobias Burnus To: gcc-patches , fortran References: <53d84639-36ea-15e0-fecc-359007294dc0@codesourcery.com> <6413a5ba-4b64-1e47-1800-d4fd7402c16e@netcologne.de> <89e972fd-fd0c-4269-4598-b025faa7e0ca@codesourcery.com> Message-ID: <7f027f94-c731-f5ff-5ea4-fbb7c5971c25@codesourcery.com> Date: Mon, 27 Sep 2021 14:38:56 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 MIME-Version: 1.0 In-Reply-To: <89e972fd-fd0c-4269-4598-b025faa7e0ca@codesourcery.com> Content-Language: en-US X-Originating-IP: [137.202.0.90] X-ClientProxiedBy: svr-ies-mbx-06.mgc.mentorg.com (139.181.222.6) To svr-ies-mbx-01.mgc.mentorg.com (139.181.222.1) X-Spam-Status: No, score=-11.6 required=5.0 tests=BAYES_00, GIT_PATCH_0, HEADER_FROM_DIFFERENT_DOMAINS, KAM_DMARC_STATUS, SPF_HELO_PASS, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org Sender: "Gcc-patches" On 27.09.21 14:07, Tobias Burnus wrote: > now committed r12-3897-g00f6de9c69119594f7dad3bd525937c94c8200d0 I accidentally changed dg-note to dg-message when updating the expected output, as the dump has changed. (Copying seemingly the sorry line instead of the dg-note lines as template.) Changed back to dg-note & committed as r12-3898-gda1f6391b7c255e4e2eea983832120eff4f7d3df. Tobias ----------------- Siemens Electronic Design Automation GmbH; Anschrift: Arnulfstraße 201, 80634 München; Gesellschaft mit beschränkter Haftung; Geschäftsführer: Thomas Heurung, Frank Thürauf; Sitz der Gesellschaft: München; Registergericht München, HRB 106955 commit da1f6391b7c255e4e2eea983832120eff4f7d3df Author: Tobias Burnus Date: Mon Sep 27 14:33:39 2021 +0200 libgomp.oacc-fortran/privatized-ref-2.f90: Fix dg-note In my last commit, r12-3897-g00f6de9c69119594f7dad3bd525937c94c8200d0, which inlined array-size code, I had to update the expected output. However, in doing so, I accidentally (copy'n'paste) changed dg-note into dg-message. libgomp/ * testsuite/libgomp.oacc-fortran/privatized-ref-2.f90: Change dg-message back to dg-note. diff --git a/libgomp/testsuite/libgomp.oacc-fortran/privatized-ref-2.f90 b/libgomp/testsuite/libgomp.oacc-fortran/privatized-ref-2.f90 index 2ff60226109..588f528b2d5 100644 --- a/libgomp/testsuite/libgomp.oacc-fortran/privatized-ref-2.f90 +++ b/libgomp/testsuite/libgomp.oacc-fortran/privatized-ref-2.f90 @@ -75,9 +75,9 @@ contains ! { dg-note {variable 'A\.[0-9]+' declared in block isn't candidate for adjusting OpenACC privatization level: static} "" { target *-*-* } l_compute$c_compute } array = [(-2*i, i = 1, size(array))] !$acc loop gang private(array) ! { dg-line l_loop[incr c_loop] } - ! { dg-message {variable 'i' in 'private' clause isn't candidate for adjusting OpenACC privatization level: not addressable} "" { target *-*-* } l_loop$c_loop } - ! { dg-message {variable 'array\.[0-9]+' in 'private' clause is candidate for adjusting OpenACC privatization level} "" { target *-*-* } l_loop$c_loop } - ! { dg-message {variable 'array\.[0-9]+' ought to be adjusted for OpenACC privatization level: 'gang'} "" { target *-*-* } l_loop$c_loop } + ! { dg-note {variable 'i' in 'private' clause isn't candidate for adjusting OpenACC privatization level: not addressable} "" { target *-*-* } l_loop$c_loop } + ! { dg-note {variable 'array\.[0-9]+' in 'private' clause is candidate for adjusting OpenACC privatization level} "" { target *-*-* } l_loop$c_loop } + ! { dg-note {variable 'array\.[0-9]+' ought to be adjusted for OpenACC privatization level: 'gang'} "" { target *-*-* } l_loop$c_loop } ! { dg-message {sorry, unimplemented: target cannot support alloca} PR65181 { target openacc_nvidia_accel_selected } l_loop$c_loop }