]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
regclass.c (globalize_reg): Update regs_invalidated_by_call.
authorRichard Henderson <rth@redhat.com>
Sun, 16 Jun 2002 21:54:12 +0000 (14:54 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Sun, 16 Jun 2002 21:54:12 +0000 (14:54 -0700)
        * regclass.c (globalize_reg): Update regs_invalidated_by_call.
* gcc.dg/20020616-1.c: New.

From-SVN: r54683

gcc/ChangeLog
gcc/regclass.c

index 814032b961cdf9e653cdf606283d866748d1f22a..083acab56d080c909b9a68eff0f0186105220f99 100644 (file)
@@ -1,3 +1,8 @@
+2002-06-16  Richard Henderson  <rth@redhat.com>
+
+       PR opt/6722
+       * regclass.c (globalize_reg): Update regs_invalidated_by_call.
+
 2002-06-16  Richard Henderson  <rth@redhat.com>
 
        PR c/7030
index 93a5edbaf2a20d40634517730fac9b074f1718e1..74594cbaaab9ca52340a7acdff4ae50224fc7b5d 100644 (file)
@@ -824,6 +824,7 @@ globalize_reg (i)
   SET_HARD_REG_BIT (fixed_reg_set, i);
   SET_HARD_REG_BIT (call_used_reg_set, i);
   SET_HARD_REG_BIT (call_fixed_reg_set, i);
+  SET_HARD_REG_BIT (regs_invalidated_by_call, i);
 }
 \f
 /* Now the data and code for the `regclass' pass, which happens