From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 101926 invoked by alias); 12 May 2015 20:36:00 -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 101908 invoked by uid 89); 12 May 2015 20:36:00 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-Spam-User: qpsmtpd, 2 recipients X-HELO: smtp23.services.sfr.fr Received: from smtp23.services.sfr.fr (HELO smtp23.services.sfr.fr) (93.17.128.19) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Tue, 12 May 2015 20:35:59 +0000 Received: from filter.sfr.fr (localhost [86.72.15.254]) by msfrf2302.sfr.fr (SMTP Server) with ESMTP id 065CB70000B4; Tue, 12 May 2015 22:35:56 +0200 (CEST) Authentication-Results: sfrmc.priv.atos.fr; dkim=none (no signature); dkim-adsp=none (no policy) header.from=mikael.morin@sfr.fr Received: from tolstoi.localhost (254.15.72.86.rev.sfr.net [86.72.15.254]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by msfrf2302.sfr.fr (SMTP Server) with ESMTP id AFEFA70000A0; Tue, 12 May 2015 22:35:55 +0200 (CEST) X-SFR-UUID: 20150512203555720.AFEFA70000A0@msfrf2302.sfr.fr Message-ID: <55526416.1070603@sfr.fr> Date: Tue, 12 May 2015 21:28:00 -0000 From: Mikael Morin User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: Thomas Koenig , "fortran@gcc.gnu.org" , gcc-patches Subject: Re: [patch, fortran] Fix PR 66111 References: <55525D6A.8050106@netcologne.de> In-Reply-To: <55525D6A.8050106@netcologne.de> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-IsSubscribed: yes X-SW-Source: 2015-05/txt/msg01161.txt.bz2 Hello, Le 12/05/2015 22:07, Thomas Koenig a écrit : > Hello world, > > this patch fixes a regression from the inline matmul patch by > not inlining a case that is not yet handled, namely vector > subscripts. > > Regression-tested. OK for trunk? > OK with... > > Index: frontend-passes.c > =================================================================== > --- frontend-passes.c (Revision 222984) > +++ frontend-passes.c (Arbeitskopie) > @@ -2752,6 +2771,10 @@ inline_matmul_assign (gfc_code **c, int *walk_subt > || matrix_b->expr_type != EXPR_VARIABLE) > return 0; > > + if (has_dimen_vector_ref (expr1) || > + has_dimen_vector_ref (matrix_a) || has_dimen_vector_ref (matrix_b)) > + return 0; > + ...the operator || at the beginning of the line. Thanks. Mikael