> Other notes need not be changed, as they don't hold renamed register > information. > > Ok for trunk?
No, REG_DEAD & REG_UNUSED note must be recomputed by passes consuming them. > 2018-10-09 Sameera Deshpande <sameera.deshpa...@linaro.org > > * gcc/regrename.c (regrename_do_replace): Add condition to alter > regname if note has same register marked dead in notes. No gcc/ prefix in gcc/ChangeLog. -- Eric Botcazou