projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4c42625
)
(regno_uninitialized): Test global_regs only for hard regs.
author
Richard Stallman
<rms@gnu.org>
Fri, 19 Feb 1993 19:09:39 +0000
(19:09 +0000)
committer
Richard Stallman
<rms@gnu.org>
Fri, 19 Feb 1993 19:09:39 +0000
(19:09 +0000)
From-SVN: r3497
gcc/flow.c
patch
|
blob
|
history
diff --git
a/gcc/flow.c
b/gcc/flow.c
index 9d83e413a7794a761ac23087470568cfa17984f3..08cf4c59c6b00a6dddcac04ac764d6cc6ce96473 100644
(file)
--- 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]