shrink-wrap: Fix problem with DF checking (PR78400)
authorSegher Boessenkool <segher@kernel.crashing.org>
Mon, 21 Nov 2016 14:44:21 +0000 (15:44 +0100)
committerSegher Boessenkool <segher@gcc.gnu.org>
Mon, 21 Nov 2016 14:44:21 +0000 (15:44 +0100)
commit1c7926f64cb0c7603a42fe2e924825cca4c2fc06
treeb6c676bac2c352579ca3bab6df0af12fb33e8286
parent48330c9355e32a41f18556fc0ebccdfe2cc51044
shrink-wrap: Fix problem with DF checking (PR78400)

With my previous patch the compiler ICEs if you use --enable-checking=df.
This patch fixes it, by calling df_update_entry_exit_and_calls instead of
df_update_entry_block_defs and df_update_exit_block_uses.

PR rtl-optimization/78400
* shrink-wrap.c (try_shrink_wrapping_separate): Call
df_update_entry_exit_and_calls instead of df_update_entry_block_defs
and df_update_exit_block_uses.

From-SVN: r242663
gcc/ChangeLog
gcc/shrink-wrap.c