Commit b0b7b46a by Richard Stallman

(regno_uninitialized): Test global_regs only for hard regs.

From-SVN: r3497
parent 4c42625b
......@@ -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]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment