rtl.h (shallow_copy_rtvec): Declare.
authorRichard Sandiford <rdsandiford@googlemail.com>
Thu, 22 Oct 2009 22:30:12 +0000 (22:30 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Thu, 22 Oct 2009 22:30:12 +0000 (22:30 +0000)
commitbd7960b1e4ce9d64b2631d0b644eb8bf83845005
tree4f4554809ba030c1b41d267109a8f8706fa58231
parent2a31793e324e29c237dc9e46064280aa626374ad
rtl.h (shallow_copy_rtvec): Declare.

gcc/
* rtl.h (shallow_copy_rtvec): Declare.
* rtl.c (shallow_copy_rtvec): New function.
* cselib.c (cselib_subst_to_values): Use it.  Only modify an
rtx field if the subrtx has changed.

From-SVN: r153475
gcc/ChangeLog
gcc/cselib.c
gcc/rtl.c
gcc/rtl.h