diff options
author | rms <rms@138bc75d-0d04-0410-961f-82ee72b054a4> | 1993-02-19 19:09:39 +0000 |
---|---|---|
committer | rms <rms@138bc75d-0d04-0410-961f-82ee72b054a4> | 1993-02-19 19:09:39 +0000 |
commit | 285bad0b2a24de0e2af98b81ed2cc906d7ce02a6 (patch) | |
tree | b580d7bd0cad363b6a75b1bd4dc2df7e9e24b14b /gcc/flow.c | |
parent | 73b9aad73e10eb38680b1520bc2419a899388bee (diff) | |
download | gcc-285bad0b2a24de0e2af98b81ed2cc906d7ce02a6.tar.gz |
(regno_uninitialized): Test global_regs only for hard regs.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@3497 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/flow.c')
-rw-r--r-- | gcc/flow.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/flow.c b/gcc/flow.c index 9d83e413a77..08cf4c59c6b 100644 --- a/gcc/flow.c +++ b/gcc/flow.c @@ -1667,7 +1667,8 @@ int regno_uninitialized (regno) int regno; { - if (n_basic_blocks == 0 || global_regs[regno]) + if (n_basic_blocks == 0 + || (regno < FIRST_PSEUDO_REGISTER && global_regs[regno])) return 0; return (basic_block_live_at_start[0][regno / REGSET_ELT_BITS] |