From patchwork Wed Nov 22 08:54:03 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Janne Blomqvist X-Patchwork-Id: 840352 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=gcc.gnu.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=gcc-patches-return-467630-incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="GcZJzDwJ"; 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 3yhbqG3SKfz9s7f for ; Wed, 22 Nov 2017 19:54:17 +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 :mime-version:from:date:message-id:subject:to:content-type; q= dns; s=default; b=LvzBVI2IkmHhoCStpP2ty5e8PBhtDfy5V2BFLt0Gd2GCwR PWyK9qpjdhKDjmKyBVb6DzQFKDLnlMUMJoVdqTNVuIhS7gqjDNoMIidjmScAltRI W0jxvhUA/zMO01v1pr47s+rX2MPF5C2YbCLbSWNv8xAIXpZJcduN7FqjlnX5s= 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 :mime-version:from:date:message-id:subject:to:content-type; s= default; bh=zh6tdlkBn5ihMmnjjfFyY+qnbms=; b=GcZJzDwJnzH3h0EAAg/K OebxSnrwQrQAk4dCO09LQywvNyU1WCBL0XRh5BHGrvg/sNz1CIDMryc76mVNlrFX TXFOsri03kg0/RJxqoO9eGUT434RI6acBRTfaFwOiMPWk3p+RcKHBeoHLGWrV9dQ LKVfCyB+SBgGqA8Gp8GuYCg= Received: (qmail 26069 invoked by alias); 22 Nov 2017 08:54:07 -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 26050 invoked by uid 89); 22 Nov 2017 08:54:07 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-10.7 required=5.0 tests=AWL, BAYES_00, FREEMAIL_FROM, GIT_PATCH_2, GIT_PATCH_3, KB_WAM_FROM_NAME_SINGLEWORD, RCVD_IN_DNSWL_NONE, SPF_PASS autolearn=ham version=3.3.2 spammy= X-Spam-User: qpsmtpd, 2 recipients X-HELO: mail-yb0-f172.google.com Received: from mail-yb0-f172.google.com (HELO mail-yb0-f172.google.com) (209.85.213.172) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 22 Nov 2017 08:54:05 +0000 Received: by mail-yb0-f172.google.com with SMTP id w203so5605057ybe.9; Wed, 22 Nov 2017 00:54:05 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=uA71ykX4ejg1ZoWR/fGW08/NulrWEL5gGl/6xn0aRt0=; b=unODNjm+EVok2i67ECMo5N1ba9wf0GW9u7bCVy5OcP5dJqdw/I6O0FNpblGChE1HVc JJbuDooaSBXeP1tBpX8w8vH8zwI1CooLM2wuHBoBv81uAffjuAb5TAB+jnhtfcatqOIH nOOy261/HHHxvrA89k70cSFZKqX7hFZTdZRWDJKgg3T8RONshEU320j62PE5Mn0tgLCb jNSGHJu91eezvjBvyfFIZX6ta+TxFADTdzda2YxnjENBxNj+yXm5yf38XAV9RCkUoT9D bl0YozzMSKXlxhFoXSqN8cKaYSDDl4yqJ2hxpRoD4ojhZugOAEup5B4O8ZwVlcH3Ldlh Htng== X-Gm-Message-State: AJaThX4jMsyc71T0AvdBAckViwxqisWmTHwwRY3F9CPhVf9qEEnp8rCD 48qE13DwAKy9YFg8OAeVtU02nkk88dHYn0bmFwUhqg== X-Google-Smtp-Source: AGs4zMYHlwJ8/2rZznlR0SEJI9vvwwoB4jZQt6zl7++s847Jdmn4o+plgWWP0+wtOmuXuC6rxIk7tysBnYVTYq70Mg0= X-Received: by 10.37.61.129 with SMTP id k123mr12457653yba.44.1511340843852; Wed, 22 Nov 2017 00:54:03 -0800 (PST) MIME-Version: 1.0 Received: by 10.129.163.146 with HTTP; Wed, 22 Nov 2017 00:54:03 -0800 (PST) From: Janne Blomqvist Date: Wed, 22 Nov 2017 10:54:03 +0200 Message-ID: Subject: [PATCH, libgfortran, committed] PR 83070, fix -Wsign-compare warning To: GCC Patches , Fortran List Hi, committed the following patch as r255045, pre-approved in the PR: 2017-11-22 Janne Blomqvist PR libfortran/83070 * intrinsics/eoshift0.c (eoshift0): Fix -Wsign-compare warning by making a_ex and r_ex index_type instead of size_t. --- trunk/libgfortran/intrinsics/eoshift0.c 2017/11/22 08:47:47 255044 +++ trunk/libgfortran/intrinsics/eoshift0.c 2017/11/22 08:51:21 255045 @@ -107,7 +107,7 @@ if (which > 0) { /* Test if both ret and array are contiguous. */ - size_t r_ex, a_ex; + index_type r_ex, a_ex; r_ex = 1; a_ex = 1; do_blocked = true;