tree-dfa.c (make_rename_temp): *Really* work just like create_tmp_var if called while...
authorPaolo Bonzini <bonzini@gnu.org>
Wed, 14 Jul 2004 13:36:29 +0000 (13:36 +0000)
committerPaolo Bonzini <bonzini@gcc.gnu.org>
Wed, 14 Jul 2004 13:36:29 +0000 (13:36 +0000)
2004-07-14  Paolo Bonzini  <bonzini@gnu.org>

* tree-dfa.c (make_rename_temp): *Really* work just
like create_tmp_var if called while outside SSA form.

From-SVN: r84685

gcc/ChangeLog
gcc/tree-dfa.c

index 98278ae5a5c8cfbd978e87bc97062e58c38f49fc..6ad49a1551152a3bbcbbf6e9e052ae0221d2198b 100644 (file)
@@ -1,3 +1,8 @@
+2004-07-14  Paolo Bonzini  <bonzini@gnu.org>
+
+       * tree-dfa.c (make_rename_temp): *Really* work just
+       like create_tmp_var if called while outside SSA form.
+
 2004-07-14  Ulrich Weigand  <uweigand@de.ibm.com>
 
        * config/s390/s390.md ("udivsi3"): Ensure trap is generated
index 64cef07bafead92daa23f9a5ffe30cd6e2dee6a1..568e9517a117ad94c48256b24b15194a2c9c2a55 100644 (file)
@@ -501,7 +501,7 @@ tree
 make_rename_temp (tree type, const char *prefix)
 {
   tree t = create_tmp_var (type, prefix);
-  if (vars_to_rename)
+  if (referenced_vars)
     {
       add_referenced_tmp_var (t);
       bitmap_set_bit (vars_to_rename, var_ann (t)->uid);