Improve shrink wrapping debug output
authorAlexander Popov <alex.popov@linux.com>
Fri, 10 Jul 2020 20:10:16 +0000 (14:10 -0600)
committerJeff Law <law@redhat.com>
Fri, 10 Jul 2020 20:26:05 +0000 (14:26 -0600)
commit5ada27f8e0ca6e3d780a54fcb92b2ac647d38627
tree303ad3aba6af52713c15504bd98fead67cdd58e6
parentdef4c0b47e0af546d1669743286fee3c3f3159d3
Improve shrink wrapping debug output

Currently if requires_stack_frame_p() returns true for some insn, the
shrink-wrapping debug output contains only the number of a block containing
that insn.

But it is very useful to see the particular insn that requires the prologue.
Let's call print_rtl_single to display that insn in the following pass dump.

gcc/

* shrink-wrap.c (try_shrink_wrapping): Improve debug output.
gcc/shrink-wrap.c