r256752 - in /branches/gcc-6-branch/gcc: Change...
segher@gcc.gnu.org
segher@gcc.gnu.org
Tue Jan 16 16:30:00 GMT 2018
Author: segher
Date: Tue Jan 16 16:30:43 2018
New Revision: 256752
URL: https://gcc.gnu.org/viewcvs?rev=256752&root=gcc&view=rev
Log:
rtlanal: dead_or_set_regno_p should handle CLOBBER (PR83424)
In PR83424 combine's move_deaths puts a REG_DEAD note in the wrong place
because dead_or_set_regno_p does not account for CLOBBER insns. This
fixes it.
PR rtl-optimization/83424
* rtlanal.c (dead_or_set_regno_p): Handle CLOBBER just like SET.
gcc/testsuite/
PR rtl-optimization/83424
* gcc.dg/pr83424.c: New testsuite.
Added:
branches/gcc-6-branch/gcc/testsuite/gcc.dg/pr83424.c
Modified:
branches/gcc-6-branch/gcc/ChangeLog
branches/gcc-6-branch/gcc/rtlanal.c
branches/gcc-6-branch/gcc/testsuite/ChangeLog
More information about the Gcc-cvs
mailing list