From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17571 invoked by alias); 26 Oct 2017 19:20:25 -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 17553 invoked by uid 89); 26 Oct 2017 19:20:24 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.1 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=ham version=3.3.2 spammy=H*F:D*gmx.de, oktober, 929, paulrichardthomasgmailcom X-Spam-User: qpsmtpd, 2 recipients X-HELO: mout.gmx.net Received: from mout.gmx.net (HELO mout.gmx.net) (212.227.15.19) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 26 Oct 2017 19:20:23 +0000 Received: from localhost ([88.77.167.231]) by mail.gmx.com (mrgmx001 [212.227.17.190]) with ESMTPSA (Nemesis) id 0LiTm8-1dc2qW1qyy-00ck22; Thu, 26 Oct 2017 21:20:12 +0200 Date: Thu, 26 Oct 2017 19:22:00 -0000 User-Agent: K-9 Mail for Android In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Patch, fortran] PR81758 - [7/8 Regression] [OOP] Broken vtab To: fortran@gcc.gnu.org,Paul Richard Thomas ,"fortran@gcc.gnu.org" ,gcc-patches CC: liakhdi@ornl.gov,Thomas Koenig From: Andre Vehreschild Message-ID: <117E9E58-7881-45EC-981A-B15AAC79FA4A@gmx.de> X-UI-Out-Filterresults: notjunk:1;V01:K0:6+yWEAG8hCA=:CmqX0+Rue0/Rmzmdgd250t yrB36HYQ/Q7XVWP9pTDPpZwFvW0czIlW52gwwIyPMGe594GcZyQaL4qHqAkokt2IFao385mfA D8kGLTkwmWHP6fvsos4AVFoDss4a1ikNRjjMAg91sTHzit+FpqCfj0szJUdMYFm5vP69Evjw0 Ti8Q7dV7MNqw4eCqbMLKsUq5RifLMFwRLxURZCy47YPd9hi43bLu0OIr0Q7fX7+OxTqW/x1uy ub7ofWddKLjm5etEOdX0IE9UezTy8hyu/bqZ08myMWDoSyBKpR+RrIrpYN4i8vd22E+suMF2H I7CNL6vcXoxRTUrZdZout7RFWQ0xMiqDxxVui09g9jhCaRe2golPxwrCM3adFfPcJ5n1l/kHN tFs/2toXF4TDQfrOCx6qsVzJxBnbErRwTUq13YCccaxGVS6I7hOLFU8FEa8J45Aqb5s0vtaqv hY+Oda0UVy8A0g6elYoGnM4/Pv/tkLpHT47wbhvVTHtZnH80Weyx3mbHt1QLnahnpJWDeR50e jSnKvB9oV2rsCXjeZY2MrTuX5C2Qddzj41KSwYmYiNcPd8zHEY/j8YXfw5SMAxj6JPj4yUWA3 THYetBoHKLsbFv/ngNEzriTwuGS63Le29MvT0b09JwfZ88xmPpeZ4g2DM4GnCPGrN0qpAiqcU eO05m8fpfDbLsBgBbiPxrTCewb5YoxFxLVOD/cJ2o+ZFjNQTrEaIIYVEkLq3YxcVzpsLDU2MH aKH/sBhu/IfdXKBniuOrG20BbIV8jPtpwEq3MR5vvTQGZV/6j85/bUkIz/vmdI+PFtlsvEb2J S7LBkjixTjW3zfQtSqa4hCc3UMv8SJdmc41a+9wWg8Sgnb80w8= X-SW-Source: 2017-10/txt/msg01990.txt.bz2 Hi Paul, Without having tested the patch, it looks reasonable to me. So ok from my s= ide. - Andre Am 26. Oktober 2017 21:12:45 MESZ schrieb Paul Richard Thomas : >Dear All, > >Thanks to Dimitry Liakh for both reporting the problem and doing a lot >of the diagnostic work. Once the offending line in a very complicated >code was located, the fix was trivial. Generating a reduced testcase >took rather longer :-) > >The comment in the testcase tells the story. The fix is a one-liner >that follows immediately from the explanation. > >Bootstrapped and regtested on FC23/x86_64 - OK for trunk and 7-branch. > >Cheers > >Paul > >2017-10-26 Paul Thomas > > PR fortran/81758 > * trans-expr.c (trans_class_vptr_len_assignment): 'vptr_expr' > must only be set if the right hand side expression is of class > type. > >2017-10-26 Paul Thomas > > PR fortran/81758 > * gfortran.dg/class_63.f90: New test. --=20 Andre Vehreschild * Kreuzherrenstr. 8 * 52062 Aachen Tel.: +49 241 929 10 18 * vehre@gmx.de