This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[lno] Fix bootstrap on ia64
- From: Andreas Schwab <schwab at suse dot de>
- To: gdb-patches at sources dot redhat dot com
- Date: Thu, 30 Sep 2004 11:46:23 +0200
- Subject: [lno] Fix bootstrap on ia64
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 <schwab@suse.de>
* 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."