rs6000: Fix for separate shrink-wrapping for fp (PR80860, PR80843)
commita14fef6bcd76da56589518d2d4e8b672a55b80c4
authorsegher <segher@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 24 May 2017 14:33:11 +0000 (24 14:33 +0000)
committersegher <segher@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 24 May 2017 14:33:11 +0000 (24 14:33 +0000)
tree601debca22be27d6bf72e09b8a29c15009aa906e
parent4fcd8cc7e30555d7a5c5649bf3f4a6d675f9b52e
rs6000: Fix for separate shrink-wrapping for fp (PR80860, PR80843)

After my r248256, rs6000_components_for_bb allocates an sbitmap of size
only 32 while it can use up to 64.  This patch fixes it.  It moves the
n_components variable into the machine_function struct so that other
hooks can use it.

PR bootstrap/80860
PR bootstrap/80843
* config/rs6000/rs6000.c (struct machine_function): Add new field
n_components.
(rs6000_get_separate_components): Init that field, use it.
(rs6000_components_for_bb): Use the field.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@248421 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/rs6000/rs6000.c