From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 94090 invoked by alias); 14 Jan 2018 12:33:27 -0000 Mailing-List: contact fortran-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: fortran-owner@gcc.gnu.org Received: (qmail 94070 invoked by uid 89); 14 Jan 2018 12:33:26 -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,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy= X-Spam-User: qpsmtpd, 2 recipients X-HELO: mail-yw0-f181.google.com Received: from mail-yw0-f181.google.com (HELO mail-yw0-f181.google.com) (209.85.161.181) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sun, 14 Jan 2018 12:33:24 +0000 Received: by mail-yw0-f181.google.com with SMTP id u17so2599069ywg.9; Sun, 14 Jan 2018 04:33:24 -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:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=ePaEj3qp0TYQCg3D38iYHxvCAu5G0XmE8QneDCsrmiY=; b=K+BfqvppjJNKB1P7RuuCGDMBrLcVJF43Ad6yNc2iZjWf8rkrQbXWX3Hd+5X8m5d1HF hgIgeLDMBBOamtUEGmOnE0xtwgKDYUIC7wfuOJMY9Ebm6xdIsg4Sso9bKmOgU3F3IyTa ED9bgMeXxnK5Xf1x5gbX9Rsl2tPFAsZs5FieoPsIIsBGjNhEkCIqZbcfG5Qxt/kggFoI AOCPhQ8NgGCTaY2wHfZkZjcxqbyLGBSQ6ftLmSAUpgdK1KA7o/VM+BSpijfWZ1bLQAau jVXdJoNudkGYOLkXXQlsZa573f4bQ7uXnQfXE/ka0XNbCUcxWCU4JwSt7x8RyPEcBkRR i2CQ== X-Gm-Message-State: AKGB3mK0BdOoEym6DZXFt3LTdyGO+m64PAdnFTtMN3eDgWxtco39gYy4 fJRsKujdl8Lpud4xukly2NZx0Ikp3LF5TAw30x8= X-Google-Smtp-Source: ACJfBoslv2zNQ1+K+45ovijT/OlDH4GRC23gwo70Bu+mH0oZaXCJnhJBUdLyDmUxTpSDcEbUpozM/bzCm+CR9wveKdo= X-Received: by 10.13.233.7 with SMTP id s7mr26697504ywe.208.1515933203305; Sun, 14 Jan 2018 04:33:23 -0800 (PST) MIME-Version: 1.0 Received: by 10.129.121.149 with HTTP; Sun, 14 Jan 2018 04:33:22 -0800 (PST) In-Reply-To: References: <907C87F1-5F0F-4C47-972A-9C18589D2DAF@lps.ens.fr> <369933D2-9E32-4942-B789-021EA59E60DA@lps.ens.fr> From: Janne Blomqvist Date: Sun, 14 Jan 2018 12:33:00 -0000 Message-ID: Subject: Re: [PATCH] PR 78534, 83704 Large character lengths To: =?UTF-8?Q?Dominique_d=27Humi=C3=A8res?= Cc: Joseph Myers , gfortran , gcc-patches Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes X-SW-Source: 2018-01/txt/msg00119.txt.bz2 On Sun, Jan 14, 2018 at 12:45 PM, Janne Blomqvist wrote: > On Sat, Jan 13, 2018 at 7:35 PM, Dominique d'Humi=C3=A8res > wrote: >> I have finally bootstrapped gfortran with the two patches applied and th= e spurious warnings with -Wall are now gone (limited testing), but I see a = regression for gfortran.dg/string_1.f90 due to an additional error >> >> /opt/gcc/_clean/gcc/testsuite/gfortran.dg/string_1.f90:13:15: >> >> print *, len(s) >> 1 >> Error: Result of LEN overflows its kind at (1) >> >> No idea why this was not emitted without the patch. > > Thanks for testing, I'll look into this. Was it on a 32 or 64-bit target? I can't recreate this on i686-pc-linux-gnu. What host/target are you using exactly, is it part of the normal testsuite run or do you compile it with some special options? In any case, that line isn't particularly relevant to what the testcase is testing, so it could be removed completely, or by specifying kind=3D8 to len(). --=20 Janne Blomqvist