From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10053 invoked by alias); 30 Sep 2004 09:46:26 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 10038 invoked from network); 30 Sep 2004 09:46:24 -0000 Received: from unknown (HELO Cantor.suse.de) (195.135.220.2) by sourceware.org with SMTP; 30 Sep 2004 09:46:24 -0000 Received: from hermes.suse.de (hermes-ext.suse.de [195.135.221.8]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (No client certificate requested) by Cantor.suse.de (Postfix) with ESMTP id D9700CA4115 for ; Thu, 30 Sep 2004 11:46:23 +0200 (CEST) To: gdb-patches@sources.redhat.com Subject: [lno] Fix bootstrap on ia64 From: Andreas Schwab X-Yow: Yow! Are you the self-frying president? Date: Thu, 30 Sep 2004 09:46:00 -0000 Message-ID: User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-SW-Source: 2004-09/txt/msg00486.txt.bz2 The variable params is used everywhere, not only with BUILT_IN_build_mask_for_load. I've also moved the declaration down to the smallest enclosing block. Committed as obvious. Andreas. 2004-09-30 Andreas Schwab * tree-vectorizer.c (vectorizable_load): Always declare params. --- gcc/tree-vectorizer.c 30 Sep 2004 11:10:32 +0200 1.1.2.69 +++ tree-vectorizer.c 30 Sep 2004 11:17:12 +0200 @@ -2687,9 +2687,6 @@ vectorizable_load (tree stmt, block_stmt tree msq_init; tree msq, lsq; tree dataref_ptr; -#ifdef BUILT_IN_build_mask_for_load - tree params; -#endif /* <1> Create msq_init = *(floor(p1)) in the loop preheader */ vec_dest = vect_create_destination_var (scalar_dest, vectype); @@ -2726,6 +2723,7 @@ vectorizable_load (tree stmt, block_stmt { /* Create permutation mask, if required, in loop preheader. */ tree builtin_decl; + tree params; params = build_tree_list (NULL_TREE, init_addr); vec_dest = vect_create_destination_var (scalar_dest, vectype); builtin_decl = targetm.vectorize.builtin_mask_for_load (); -- Andreas Schwab, SuSE Labs, schwab@suse.de SuSE Linux AG, Maxfeldstraße 5, 90409 Nürnberg, Germany Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."