summaryrefslogtreecommitdiff
path: root/gcc/regclass.c
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2002-06-16 21:52:45 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2002-06-16 21:52:45 +0000
commita73394b8ccc723a2d120c00227f5df8a19549ee1 (patch)
treec329815e33579ec2e8ff189f45704d298d298eec /gcc/regclass.c
parent247711d3b869d5b81e72f4d0aa4b5170a6059a60 (diff)
downloadgcc-a73394b8ccc723a2d120c00227f5df8a19549ee1.tar.gz
* regclass.c (globalize_reg): Update regs_invalidated_by_call.
* gcc.dg/20020616-1.c: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54681 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/regclass.c')
-rw-r--r--gcc/regclass.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/regclass.c b/gcc/regclass.c
index 6a7acb9793d..84bf97f21db 100644
--- a/gcc/regclass.c
+++ b/gcc/regclass.c
@@ -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);
}
/* Now the data and code for the `regclass' pass, which happens