From: Paolo Bonzini Date: Wed, 14 Jul 2004 13:36:29 +0000 (+0000) Subject: tree-dfa.c (make_rename_temp): *Really* work just like create_tmp_var if called while... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=51a61243e79e7be0543afc0cf1ac7db67a39ce5a;p=gcc.git tree-dfa.c (make_rename_temp): *Really* work just like create_tmp_var if called while outside SSA form. 2004-07-14 Paolo Bonzini * tree-dfa.c (make_rename_temp): *Really* work just like create_tmp_var if called while outside SSA form. From-SVN: r84685 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 98278ae5a5c..6ad49a15511 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2004-07-14 Paolo Bonzini + + * tree-dfa.c (make_rename_temp): *Really* work just + like create_tmp_var if called while outside SSA form. + 2004-07-14 Ulrich Weigand * config/s390/s390.md ("udivsi3"): Ensure trap is generated diff --git a/gcc/tree-dfa.c b/gcc/tree-dfa.c index 64cef07bafe..568e9517a11 100644 --- a/gcc/tree-dfa.c +++ b/gcc/tree-dfa.c @@ -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);