From: Trevor Saunders Date: Wed, 22 Apr 2015 00:44:59 +0000 (+0000) Subject: remove #if for PIC_OFFSET_TABLE_REGNUM X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=faa7b0dee624ffa4a04a25d4c1336bc747086329;p=gcc.git remove #if for PIC_OFFSET_TABLE_REGNUM gcc/ChangeLog: 2015-04-21 Trevor Saunders * df-scan.c (df_get_entry_block_def_set): Remove #ifdef PIC_OFFSET_TABLE_REGNUM. From-SVN: r222301 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2f39b8ce1df..93384b72af2 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2015-04-21 Trevor Saunders + + * df-scan.c (df_get_entry_block_def_set): Remove #ifdef + PIC_OFFSET_TABLE_REGNUM. + 2015-04-21 Trevor Saunders * alias.c (init_alias_target): Remove ifdef diff --git a/gcc/df-scan.c b/gcc/df-scan.c index 69332a83866..4232ec8d312 100644 --- a/gcc/df-scan.c +++ b/gcc/df-scan.c @@ -3589,10 +3589,6 @@ df_get_entry_block_def_set (bitmap entry_block_defs) /* These registers are live everywhere. */ if (!reload_completed) { -#ifdef PIC_OFFSET_TABLE_REGNUM - unsigned int picreg = PIC_OFFSET_TABLE_REGNUM; -#endif - #if FRAME_POINTER_REGNUM != ARG_POINTER_REGNUM /* Pseudos with argument area equivalences may require reloading via the argument pointer. */ @@ -3600,13 +3596,12 @@ df_get_entry_block_def_set (bitmap entry_block_defs) bitmap_set_bit (entry_block_defs, ARG_POINTER_REGNUM); #endif -#ifdef PIC_OFFSET_TABLE_REGNUM /* Any constant, or pseudo with constant equivalences, may require reloading from memory using the pic register. */ + unsigned int picreg = PIC_OFFSET_TABLE_REGNUM; if (picreg != INVALID_REGNUM && fixed_regs[picreg]) bitmap_set_bit (entry_block_defs, picreg); -#endif } #ifdef INCOMING_RETURN_ADDR_RTX