Handle CLOBBER in reg_overlap_mentioned_p (PR86882)
authorSegher Boessenkool <segher@kernel.crashing.org>
Tue, 18 Sep 2018 16:19:56 +0000 (18:19 +0200)
committerSegher Boessenkool <segher@gcc.gnu.org>
Tue, 18 Sep 2018 16:19:56 +0000 (18:19 +0200)
commitb7663a763fdeff95ffe2ea8d1ef46ad74c26491e
treed3c357de4d00518720240c369368be7d6aab210c
parenta12c16de529755cdf4dbc594dd48742107ad349e
Handle CLOBBER in reg_overlap_mentioned_p (PR86882)

Combine will put CLOBBER (with a non-void mode) anywhere in a pattern
to poison it.  reg_overlap_mentioned_p did not handle this.  This patch
fixes that.

PR rtl-optimization/86882
* rtlanal.c (reg_overlap_mentioned_p): Handle CLOBBER.

From-SVN: r264400
gcc/ChangeLog
gcc/rtlanal.c