[Patch PR78561 PowerPC] Revert to old behaviour for counting constant pools
commitda88ea0265af5c877429a0c096cfdc0d4b3fecaa
authorJames Greenhalgh <james.greenhalgh@arm.com>
Wed, 7 Dec 2016 14:01:59 +0000 (7 14:01 +0000)
committerJames Greenhalgh <jgreenhalgh@gcc.gnu.org>
Wed, 7 Dec 2016 14:01:59 +0000 (7 14:01 +0000)
tree624f3840e340fb87117f70858530e01dbb84bc36
parent716c5aced1f3e998df4a5d78eba4e090a332acee
[Patch PR78561 PowerPC] Revert to old behaviour for counting constant pools

gcc/

PR rtl-optimization/78561
* config/rs6000/rs6000.c (rs6000_reg_live_or_pic_offset_p) Use
constant_pool_empty_p in place of get_pool_size_upper_bound.
(rs6000_stack_info): Likewise.
(rs6000_emit_prologue): Likewise.
(rs6000_elf_declare_function_name): Likewise.
(rs6000_set_up_by_prologue): Likewise.
(rs6000_can_eliminate): Likewise.
* output.h (get_pool_size_upper_bound): Delete.
(constant_pool_empty_p): New.
* varasm.c (get_pool_size_upper_bound): Delete
(constant_pool_empty_p): New.

From-SVN: r243345
gcc/ChangeLog
gcc/config/rs6000/rs6000.c
gcc/output.h
gcc/varasm.c