From patchwork Thu Mar 24 16:20:37 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom de Vries X-Patchwork-Id: 601674 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 3qWBWS0jPZz9t5X for ; Fri, 25 Mar 2016 03:21:07 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b=aMOOiGcs; 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:to:cc :from:subject:message-id:date:mime-version:content-type; q=dns; s=default; b=n29+seUpT+Tu1HkyBAgDKQnA5jbyT6j94vNfUdf27zEd5r4o7C YoC9TtUNzBk+96ArEqGCtzldH1IehMTSo6f/p/SlxPDtKdrn5rd2ZP1vBWJjn1gr hqp3OwGqkwt1EesRyc0UbLsZN2XO2PqKdfVN0Z5+IBIP2oW7XkC8RYKlI= 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:cc :from:subject:message-id:date:mime-version:content-type; s= default; bh=pDcrFvluYYJErxUJNJCUcfxtWbY=; b=aMOOiGcsRg3I6nFC5LzE Zcne4qHaNYZkymoDBPYXZJ/iddjM5Xx1Xn/tC7xU1e8sFob09TLQED8xslHY2gw0 SgnjyRvWPxmAxMIPoXpIQINPAxYovGaOQ4yUiDnu+dsq66y0yDO8J1Llxa5QfGoc 8fUXwhAf+alEyokp8xtDeKU= Received: (qmail 55355 invoked by alias); 24 Mar 2016 16:21:00 -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 55334 invoked by uid 89); 24 Mar 2016 16:20:59 -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, RCVD_IN_DNSWL_NONE, SPF_PASS autolearn=ham version=3.3.2 spammy= X-HELO: relay1.mentorg.com Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Thu, 24 Mar 2016 16:20:49 +0000 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 1aj806-000641-6R from Tom_deVries@mentor.com for gcc-patches@gcc.gnu.org; Thu, 24 Mar 2016 09:20:46 -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; Thu, 24 Mar 2016 16:20:44 +0000 To: GCC Patches CC: Thomas Schwinge From: Tom de Vries Subject: [testsuite, committed] Add missing initialization in goacc/host_data-tree.f95 Message-ID: <56F413D5.9010806@mentor.com> Date: Thu, 24 Mar 2016 17:20:37 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 Hi, I've run the goacc.exp testcases with -Wuninitialized and found one more missing initialization. Fixed and committed as attached. Thanks, - Tom Add missing initialization in goacc/host_data-tree.f95 2016-03-24 Tom de Vries * gfortran.dg/goacc/host_data-tree.f95: Add missing initialization. --- gcc/testsuite/gfortran.dg/goacc/host_data-tree.f95 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/testsuite/gfortran.dg/goacc/host_data-tree.f95 b/gcc/testsuite/gfortran.dg/goacc/host_data-tree.f95 index 23aba8c..4a11b9d 100644 --- a/gcc/testsuite/gfortran.dg/goacc/host_data-tree.f95 +++ b/gcc/testsuite/gfortran.dg/goacc/host_data-tree.f95 @@ -3,7 +3,7 @@ program test implicit none - integer :: i + integer :: i = 1 !$acc host_data use_device(i) !$acc end host_data