From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by sourceware.org (Postfix) with ESMTPS id A425F3858410 for ; Tue, 26 Oct 2021 10:24:40 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org A425F3858410 Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out1.suse.de (Postfix) with ESMTP id 860BE2195B; Tue, 26 Oct 2021 10:24:39 +0000 (UTC) Received: from murzim.suse.de (murzim.suse.de [10.160.4.192]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by relay2.suse.de (Postfix) with ESMTPS id 7FFD3A3B87; Tue, 26 Oct 2021 10:24:39 +0000 (UTC) Date: Tue, 26 Oct 2021 12:24:39 +0200 (CEST) From: Richard Biener To: Bernhard Reutner-Fischer cc: Richard Biener via Gcc-patches , Richard Biener via Gcc-patches Subject: Re: [PATCH] Turn vect_create_addr_base_for_vector_ref offset into a byte offset In-Reply-To: Message-ID: References: <5350n593-2893-84q-97p-qo6132qrq6q@fhfr.qr> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Spam-Status: No, score=-5.0 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Oct 2021 10:24:41 -0000 On Tue, 26 Oct 2021, Bernhard Reutner-Fischer wrote: > On 26 October 2021 10:58:50 CEST, Richard Biener via Gcc-patches wrote: > > >@@ -2006,6 +2011,7 @@ get_negative_load_store_type (vec_info *vinfo, > > dump_printf_loc (MSG_MISSED_OPTIMIZATION, vect_location, > > "negative step but alignment required.\n"); > > return VMAT_ELEMENTWISE; > >+ *poffset = 0; > > Would you want to move this to before the return? Doh! Why don't we diagnose this ... :/ Richard.