rtl-optimization/105577 - RTL DSE and non-call EH
authorRichard Biener <rguenther@suse.de>
Thu, 12 May 2022 12:03:32 +0000 (14:03 +0200)
committerRichard Biener <rguenther@suse.de>
Thu, 12 May 2022 13:05:45 +0000 (15:05 +0200)
commitdfda40f8147412328f699628a54b0aaa584776e7
tree237be28ae200f54b39c441b74a6495d8dad3c9cb
parentc4471a4a3cd0923582f88249feb9fb1a2e37c32a
rtl-optimization/105577 - RTL DSE and non-call EH

When one of the first two stages of DSE removes a throwing stmt
we have to purge dead EH edges before the DF re-analyze fires off
a fast DCE since that cannot cope with the situation.

2022-05-12  Richard Biener  <rguenther@suse.de>

PR rtl-optimization/105577
* dse.cc (rest_of_handle_dse): Make sure to purge dead EH
edges before running fast DCE via df_analyze.
gcc/dse.cc