From b0b7b46ac256b48a1b85a831d68c4f4ff45b8c45 Mon Sep 17 00:00:00 2001 From: Richard Stallman Date: Fri, 19 Feb 1993 19:09:39 +0000 Subject: [PATCH] (regno_uninitialized): Test global_regs only for hard regs. From-SVN: r3497 --- gcc/flow.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gcc/flow.c b/gcc/flow.c index 9d83e41..08cf4c5 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] -- 2.7.4