diff options
author | Segher Boessenkool <segher@kernel.crashing.org> | 2018-05-09 14:14:39 +0200 |
---|---|---|
committer | Segher Boessenkool <segher@gcc.gnu.org> | 2018-05-09 14:14:39 +0200 |
commit | 97741c118180621e47edb6350571077eb0bc28ca (patch) | |
tree | c5f025e476cf9eefd6c08e8d563901a3f6d13eb7 /gcc/shrink-wrap.c | |
parent | c35533d7e97fda61c50be8b8260157956cf388e2 (diff) | |
download | gcc-97741c118180621e47edb6350571077eb0bc28ca.zip gcc-97741c118180621e47edb6350571077eb0bc28ca.tar.gz gcc-97741c118180621e47edb6350571077eb0bc28ca.tar.bz2 |
regrename: Don't rename the dest of a REG_CFA_REGISTER (PR85645)
We should never change the destination of a REG_CFA_REGISTER, just
like for insns with a REG_CFA_RESTORE, because we need to have the
same control flow information on all branches that join. It is very
doubtful that renaming the scratch registers used for prologue/epilogue
will help anything either.
PR rtl-optimization/85645
* regrename.c (build_def_use): Also kill the chains that include the
destination of a REG_CFA_REGISTER note.
From-SVN: r260075
Diffstat (limited to 'gcc/shrink-wrap.c')
0 files changed, 0 insertions, 0 deletions