Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Andreas Schwab <schwab@suse.de>
To: gdb-patches@sources.redhat.com
Subject: [lno] Fix bootstrap on ia64
Date: Thu, 30 Sep 2004 09:46:00 -0000	[thread overview]
Message-ID: <jeu0tgdr80.fsf@sykes.suse.de> (raw)

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


             reply	other threads:[~2004-09-30  9:46 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-30  9:46 Andreas Schwab [this message]
2004-09-30 10:12 ` Andreas Schwab

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jeu0tgdr80.fsf@sykes.suse.de \
    --to=schwab@suse.de \
    --cc=gdb-patches@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox