diff options
Diffstat (limited to 'gcc/init-regs.c')
-rw-r--r-- | gcc/init-regs.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/init-regs.c b/gcc/init-regs.c index 91b123d8ef6..bf83e51aa92 100644 --- a/gcc/init-regs.c +++ b/gcc/init-regs.c @@ -80,6 +80,11 @@ initialize_uninitialized_regs (void) if (regno < FIRST_PSEUDO_REGISTER) continue; + /* Ignore pseudo PIC register. */ + if (pic_offset_table_rtx + && regno == REGNO (pic_offset_table_rtx)) + continue; + /* Do not generate multiple moves for the same regno. This is common for sequences of subreg operations. They would be deleted during combine but there is no |