Fix UBSAN in regrename.c (PR rtl-optimization/84635).
authorMartin Liska <mliska@suse.cz>
Sun, 18 Mar 2018 20:17:10 +0000 (21:17 +0100)
committerMartin Liska <marxin@gcc.gnu.org>
Sun, 18 Mar 2018 20:17:10 +0000 (20:17 +0000)
commitf7dbf8e56459916a66af9fc62608109f65babd51
treef97caf2a9bb93f1537a30e9654d2e819ecfd8805
parent96c8b2534d19a0769152cd33e7fccc66a8785389
Fix UBSAN in regrename.c (PR rtl-optimization/84635).

2018-03-18  Martin Liska  <mliska@suse.cz>

PR rtl-optimization/84635
* regrename.c (build_def_use): Use matches_mode only when
matches >= 0.

From-SVN: r258634
gcc/ChangeLog
gcc/regrename.c