cse.c (try_back_substitute_reg): Move any REG_ARGS_SIZE note when successfully back...
authorJeff Law <law@redhat.com>
Mon, 12 Feb 2018 18:32:18 +0000 (11:32 -0700)
committerJeff Law <law@gcc.gnu.org>
Mon, 12 Feb 2018 18:32:18 +0000 (11:32 -0700)
commit966a140df68bf3e2d378fb9b68a8afb7d80b34d6
treee89189e2c2395ff1659a47d1c39d4c44e3aea9be
parentfa2faaa80708b671806849a40bcabff3eb5a1a1e
cse.c (try_back_substitute_reg): Move any REG_ARGS_SIZE note when successfully back substituting a reg.

* cse.c (try_back_substitute_reg): Move any REG_ARGS_SIZE note when
successfully back substituting a reg.

* gcc.c-torture/compile/reg-args-size.c: New test.

From-SVN: r257598
gcc/ChangeLog
gcc/cse.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/regs-arg-size.c [new file with mode: 0644]