Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [lno] Fix bootstrap on ia64
@ 2004-09-30  9:46 Andreas Schwab
  2004-09-30 10:12 ` Andreas Schwab
  0 siblings, 1 reply; 2+ messages in thread
From: Andreas Schwab @ 2004-09-30  9:46 UTC (permalink / raw)
  To: gdb-patches

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."


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [lno] Fix bootstrap on ia64
  2004-09-30  9:46 [lno] Fix bootstrap on ia64 Andreas Schwab
@ 2004-09-30 10:12 ` Andreas Schwab
  0 siblings, 0 replies; 2+ messages in thread
From: Andreas Schwab @ 2004-09-30 10:12 UTC (permalink / raw)
  To: gdb-patches

Sorry, wrong list. :-)

Andreas.

-- 
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."


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-09-30 10:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-09-30  9:46 [lno] Fix bootstrap on ia64 Andreas Schwab
2004-09-30 10:12 ` Andreas Schwab

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox