From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pl1-x635.google.com (mail-pl1-x635.google.com [IPv6:2607:f8b0:4864:20::635]) by sourceware.org (Postfix) with ESMTPS id A051F3861001; Wed, 24 Apr 2024 06:10:50 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org A051F3861001 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org A051F3861001 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2607:f8b0:4864:20::635 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1713939052; cv=none; b=eA9lVSvIqYwWY9evF8wHGLSNopDa0zEYCO0spjc/cJCA875OEQHDSltesKknr/ueSTEW8tnCU4PVVCqcYX8FWkJFNotHjO5qxw9Q63nFNxqGVwP7O3J+sd6yGZ/2Z6VPXlofe+MOxbXDla3ZQOH6mXRAOy1fblxUOA2BsYp+O30= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1713939052; c=relaxed/simple; bh=PAQTQRXpF9anhhQzUhdve8L18EsTmYJsRD3dgTGTIEw=; h=DKIM-Signature:MIME-Version:From:Date:Message-ID:Subject:To; b=Zu4qE5OreOv7dxrhWvJ9/HwRPnNY2lODBCCj9WvZo25Wq4ha+SjVdvDpqkPMYBdSA1M+G6lNacSnKnlH+wex/jbjOlo9JR/xqFEMQNMZlEb857yn1aSYbc48FIClwM5raZUZ7MC+H+KpjxXz2ONR388r0kCAzpMN9YXbGueq/gU= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-pl1-x635.google.com with SMTP id d9443c01a7336-1e2b1cd446fso53420465ad.3; Tue, 23 Apr 2024 23:10:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1713939049; x=1714543849; darn=gcc.gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=IWLOX7UF4Zxn+2LUpuryqmwnE1VDxDw3dsAtP2n6Jb4=; b=S6VwCT2vLwtiaiQiKFWGgRb0Q1of+LmCXJ9MzLjT9oD2wS3lckdc9G8uvPUSaTyVQx scylrO+oRHs9XjyKAtz/6mcMxREpU9U3MBcL/R492is5wgf1F+yyBPdJdiGwYX0QnTS7 B1QIMHJgybRBFTjJAHglpt9hkZb0rOIwFsZpdByIs+UXd2QQ1HbbViUTatLLRxMlNHs7 nCs1bPp6BS06tTtnJ+SHRLwEnf91ErmRpH/LHuhoCbJaAWZQoZBER7qlSQb32dLwksC6 oEvr8+mfEUVMy/TYutHaPX6t9oOgfphZAJgfS7CBrXZuBFNy2BSGjk8srbRAH875nX1d b8tg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713939049; x=1714543849; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=IWLOX7UF4Zxn+2LUpuryqmwnE1VDxDw3dsAtP2n6Jb4=; b=N+ry0sfb5xQ2pf9UE3AZpyQMD+3GEkgXATkVuOiZ88uOBPnmLV9mmaMcj1w3Jbis6P 1O75o/Hk9jfLqy7Lpf7/mrA1sDDUjxVuWSIHwBZqHo79xHAcYwIFJ+rsQmwfYHNcDqEy 5ye3ia13rV0imPNLhwOL6BcV4NFxESA1f5vsz2+QuxAo1M8FcPBAW/Oo50gvrty5av/v crqckkVdYwP+Ye+LOgHZipcrH+tjp0BCbBz8gTfYM2YKqCD4+TRvQuAZFSEASznekAzi Ap7JcRgVPaV6MTwCWfLo8UYSNzJATv/GtrXUVgK8UHmXQvYkUorlKN3+lmPq9zdO15+7 KM1Q== X-Forwarded-Encrypted: i=1; AJvYcCVO5VR1VmKf7QT0/cn/uswb43FzTk63PV++Up0iEYUf+h4EtoU40xW8Cw4Q62e4bA0JX7iI/LuuV57ukZWHL9EQsxL+IqhmJg== X-Gm-Message-State: AOJu0YzYdgC2S/uzRstRsjXEhAXK6PEdlHa7Mhpsj+JA3fa6mGgXPgd2 8MWpMocVYWe3b1wOjFAKXy7UVUdMT9oqETdJIe4PXEq1ZIcWGz9aIAzE+f5ntykEmj503XJV1US G7i8HJTuYp830K2apJ6byV2ko4epJWw== X-Google-Smtp-Source: AGHT+IGhIv7DchCJDeyP6RQlBckMYI8IQVuARmZ8siFFtpDmql9vuMulWNt/Z+h0S/DZA1yPu/kA8S6oCkWybV/37mU= X-Received: by 2002:a17:903:11c9:b0:1e4:9bce:adcf with SMTP id q9-20020a17090311c900b001e49bceadcfmr1780847plh.63.1713939048908; Tue, 23 Apr 2024 23:10:48 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Paul Richard Thomas Date: Wed, 24 Apr 2024 07:10:37 +0100 Message-ID: Subject: Re: [Patch, fortran] PR89462 - [11/12/13/14 Regression] gfortran loops in code generation To: "fortran@gcc.gnu.org" , gcc-patches Cc: Harald Anlauf Content-Type: multipart/alternative; boundary="0000000000002d52680616d18805" X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: --0000000000002d52680616d18805 Content-Type: text/plain; charset="UTF-8" PS ignore the chunk in trans-array.cc. It is an attempt to fix PR93678 that literally did nothing. Paul On Wed, 24 Apr 2024 at 07:05, Paul Richard Thomas < paul.richard.thomas@gmail.com> wrote: > Hi, > > The linaro pre-commit error testing picked up errors for arm and aarch > since they set the option -pedantic-errors. > /home/tcwg-build/workspace/tcwg_gnu_4/abe/snapshots/gcc.git~master/gcc/testsuite/gfortran.dg/pr89462.f90:6:14: > Warning: Obsolescent feature: Old-style character length at (1) > /home/tcwg-build/workspace/tcwg_gnu_4/abe/snapshots/gcc.git~master/gcc/testsuite/gfortran.dg/pr89462.f90:7:17: > Warning: Obsolescent feature: Old-style character length at (1) > > I have added the option to the testcase together with the corresponding > warnings as in the attached. > > I will wait for 24 hours more. > > Paul > > On Tue, 23 Apr 2024 at 16:25, Paul Richard Thomas < > paul.richard.thomas@gmail.com> wrote: > >> Hi All, >> >> Jakub pinpointed the source of this bug in comment 6 of the PR. The rest >> was 'obvious' :-) >> >> I plan to push the patch to mainline in the next 24 hours unless there >> are opinions to the contrary. Backporting is proposed to occur a couple of >> weeks later. >> >> Best regards >> >> Paul >> >> Fortran: Generate new charlens for shared symbol typespecs [PR89462] >> >> 2024-04-23 Paul Thomas >> Jakub Jelinek >> >> gcc/fortran >> PR fortran/89462 >> * decl.cc (build_sym): Add an extra argument 'elem'. If 'elem' >> is greater than 1, gfc_new_charlen is called to generate a new >> charlen, registered in the symbol namespace. >> (variable_decl, enumerator_decl): Set the new argument in the >> calls to build_sym. >> >> gcc/testsuite/ >> PR fortran/89462 >> * gfortran.dg/pr89462.f90: New test. >> >> --0000000000002d52680616d18805--