From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6728 invoked by alias); 29 Nov 2017 10:00:55 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 6672 invoked by uid 89); 29 Nov 2017 10:00:53 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.6 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,KB_WAM_FROM_NAME_SINGLEWORD,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=no version=3.3.2 spammy=sk:paul.ri, paul.richard.thomas@gmail.com, sk:paulri, paulrichardthomasgmailcom X-Spam-User: qpsmtpd, 2 recipients X-HELO: mail-yb0-f178.google.com Received: from mail-yb0-f178.google.com (HELO mail-yb0-f178.google.com) (209.85.213.178) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 29 Nov 2017 10:00:42 +0000 Received: by mail-yb0-f178.google.com with SMTP id b186so1133701yba.2; Wed, 29 Nov 2017 02:00:42 -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; bh=FN+pFAmvsA0fKSbfj8GgHqc4olVIC2LxpbHmjgYi+qM=; b=XxAkLjru4f5HKSDJNE273Ijj5B7puSX1AzAKu5BB1qmihd2MgDWZrMJPAJJm0jvIH4 zPY095CUSN8h9pVRR87LJt4Ltf++3tvdgljlO9+/Dno4tYbKSx1HrZqJQGlKI+Q0OYOh J+i75UfrLI0KmABUvcA1/kGBui+5DHN/NUZw0CYzzKUzu58ROGo3wx6ywCH0iloKD9Ie 1uLfh6XAFPm1eD4rUGkdmJdEyz3LfFAjWWvDilD7OZtbFcyGVUCS9ld+osvhMt8Rcg/c ibqiLBGhbdCslKRhLWdxFAZ8EWhwDi3taISQSGdwAfgKf6KZn+reReE/YR2bGb0XKsF/ LYsA== X-Gm-Message-State: AJaThX7h8IuH2sz8H698jqyKe/JnOO9Y6N4M5B21dvdvauq+wY5Sx+r4 nZgmesHjGr7qg7FQN1y4Nv8duViddeu04OxzKpA= X-Google-Smtp-Source: AGs4zMZbLz5Iwa165t4xLfDvvjK4vOdHnzQyb9J1TFmfsyOVCplv/PuZmrzccvFLN4uJzto0MDXdbDK1tAgIWYECnYA= X-Received: by 10.37.99.194 with SMTP id x185mr1346033ybb.411.1511949640662; Wed, 29 Nov 2017 02:00:40 -0800 (PST) MIME-Version: 1.0 Received: by 10.129.156.81 with HTTP; Wed, 29 Nov 2017 02:00:40 -0800 (PST) In-Reply-To: References: From: Paul Richard Thomas Date: Wed, 29 Nov 2017 10:09:00 -0000 Message-ID: Subject: Re: (patch, fortran] PR83021 - [7/8 Regression] gfortran segfault in polymorphic assignment To: "fortran@gcc.gnu.org" , gcc-patches Content-Type: text/plain; charset="UTF-8" X-SW-Source: 2017-11/txt/msg02488.txt.bz2 Committed to 7-branch and trunk and r255205 and r255202 respectively. Paul On 26 November 2017 at 18:40, Paul Richard Thomas wrote: > Dear All, > > This regression was caused by the patch for PR81447. The chunk that > has been modified came about because use association of derived types > in block data, in the presence of a vtable, was trying to add vtable > procedures, which is not allowed. The original patch did not > explicitly target block data and this is fixed here. I decided that a > testcase was not necessary but this could be done if desired. > > Bootstrapped and regtested on FC23/x86_64 - OK for both branches? > > I will commit tomorrow morning if there are no complaints. > > Best regards > > Paul > > 2017-11-26 Paul Thomas > > PR fortran/83021 > * resolve.c (resolve_component): Only escape for use assciated > vtypes if the current namespace has no proc_name and is most > particularly block data. -- "If you can't explain it simply, you don't understand it well enough" - Albert Einstein