]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/regmove.c
recog.c (validate_replace_rtx_group): New function.
authorJeff Law <law@gcc.gnu.org>
Sat, 22 Aug 1998 23:21:24 +0000 (17:21 -0600)
committerJeff Law <law@gcc.gnu.org>
Sat, 22 Aug 1998 23:21:24 +0000 (17:21 -0600)
commite757da5ef3e07c518620a35cbba35b5ac656fdcc
tree6e6ec836aedf9ef4467ecc2d2415fd0259f4e746
parentedfac33e828bec837550da110999793dd436a551
recog.c (validate_replace_rtx_group): New function.


        * recog.c (validate_replace_rtx_group): New function.
        * recog.h (validate_replace_rtx_group): Declare it.
        * regmove.c (optimize_reg_copy_3): If any substitution fails, then undo
        the entire group of substitutions.

From-SVN: r21910
gcc/recog.h
gcc/regmove.c