From patchwork Wed Nov 28 12:59:55 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alan Modra X-Patchwork-Id: 1004537 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-491095-incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="UWBpYvJo"; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="aFUlNxN/"; 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 434gjn6NwZz9s2P for ; Thu, 29 Nov 2018 00:00:12 +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:date :from:to:cc:subject:message-id:mime-version:content-type; q=dns; s=default; b=q+AZHaeJDhlNVJQq5c9hm6bbUeoGVwFb9vMBOikKUbwFX/R9mm i0l9+GD+jVLhRsPPDFKDdJDhkcW0VKcQlnnfNu518hxn5IgOtydMa7/h+pgWU/hr IaNfiWClA44EIVbrt0mRjRx0RlCn3lRap63unpbI0sctf4nNBYCzLjimM= 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:date :from:to:cc:subject:message-id:mime-version:content-type; s= default; bh=P8VwJbKMEnbTdWHK/PA+V/rHbMk=; b=UWBpYvJoi6zEGTP/RaPK 3i09QW86uqsG6/8Z31kQtH/Vc1jeDgUvqQ9J0uSrOInPvtJQtlV8c9TkmJmgFK58 7x2YecdgpbTM/mzUIoxHHhqUYXfekKiJf+N0dRMQVRqyytjTmu/shmYO1RIeTEkA oRHysGXAPs0HivbNKyLCz30= Received: (qmail 29934 invoked by alias); 28 Nov 2018 13:00:04 -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 28163 invoked by uid 89); 28 Nov 2018 13:00:02 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-26.9 required=5.0 tests=BAYES_00, FREEMAIL_FROM, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, SPF_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:832, Signed, H*RU:sk:mail-pg, Hx-spam-relays-external:sk:mail-pg X-HELO: mail-pg1-f182.google.com Received: from mail-pg1-f182.google.com (HELO mail-pg1-f182.google.com) (209.85.215.182) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 28 Nov 2018 13:00:01 +0000 Received: by mail-pg1-f182.google.com with SMTP id y4so9467052pgc.12 for ; Wed, 28 Nov 2018 05:00:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :user-agent; bh=b3cbI7i+KzEJ5+XU04LdUIEpO9gLUSsmkSFt3s1PYmQ=; b=aFUlNxN/ivps6Ts8Qd+qlVLOMzJgsRaQv+UCtrE/g+mn34ZZlZlRbWDqhAp3GBvFfN 1tkEaJkvH5sClinZNTYfLYK3GslElqr3aIpP13hwH9WaLXlrkBgubdo5K3zUHQYDmLIP BG5cfrD9yVpQUDPZdaCDhjO8dY86XFxeTXkCbVnfp0+FUArKlt11DLMxAma+OGCqBKWF bQfmLT0OcUQjyj0BuSgvPFFHh+UFyKrfgDZtvlbH6L7nV+rHrkbm58ZJ652kDlx23SsQ sG6/JP0KULAfl1lDZHKtNU6wA49xiGj9ZaYrWN23ZRym6jSeTjXAZTqPkwW/lTerF8tz aPHA== Received: from bubble.grove.modra.org ([58.175.241.133]) by smtp.gmail.com with ESMTPSA id z62sm9333013pfl.33.2018.11.28.04.59.58 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 28 Nov 2018 04:59:58 -0800 (PST) Received: by bubble.grove.modra.org (Postfix, from userid 1000) id 11A91804B4; Wed, 28 Nov 2018 23:29:55 +1030 (ACDT) Date: Wed, 28 Nov 2018 23:29:55 +1030 From: Alan Modra To: gcc-patches@gcc.gnu.org Cc: David Edelsohn Subject: [RS6000] Bootstrap failure compiling xcoffout.c Message-ID: <20181128125954.GA22912@bubble.grove.modra.org> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.9.4 (2018-02-28) X-IsSubscribed: yes git commit 41f70262f (svn rev 264868) exposed a signed/unsigned comparison. Fixed by matching the type of the local var to that of the tree field. Committed revision 266555 as obvious after bootstrapping on gcc111. * xcoffout.c (do_block): Signed/unsigned warning fix. diff --git a/gcc/xcoffout.c b/gcc/xcoffout.c index 53156a70fcb..7799210fbcd 100644 --- a/gcc/xcoffout.c +++ b/gcc/xcoffout.c @@ -345,7 +345,7 @@ xcoffout_source_line (unsigned int line, unsigned int column ATTRIBUTE_UNUSED, This function works by walking the tree structure of blocks, counting blocks until it finds the desired block. */ -static int do_block = 0; +static unsigned int do_block = 0; static void xcoffout_block (tree block, int depth, tree args)