Mark Shinwell wrote:
> This patch fixes PR29877, which concerns erroneous extensions of
> the lifetimes of register variables. This was being caused by the
> TER pass incorrectly removing assignments with a register variable
> on the RHS.
>
> There was some discussion internally as to what to do about the
> somewhat fragile testcase involved in the patch; that below was
> eventually settled on.
>
> This patch causes no regressions on x86_64-unknown-linux-gnu with all
> default languages enabled. OK to apply to mainline?
Ping, please.