reload.h (elimination_target_reg_p): Declare.
authorRichard Sandiford <richard@codesourcery.com>
Fri, 27 Apr 2007 11:39:47 +0000 (11:39 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Fri, 27 Apr 2007 11:39:47 +0000 (11:39 +0000)
commit8c74fb06c66b569a26f93c0d569d4437fdcfd415
treea4840b670d6361a1ddbbb4b10ca1921ee3bb7e7c
parenta9b77cd1f72118dead00c720f1fc3348b7c5127e
reload.h (elimination_target_reg_p): Declare.

gcc/
* reload.h (elimination_target_reg_p): Declare.
* reload.c (find_reloads): Don't apply the reg_rtx move
optimization if the SET_DEST satisfies elimination_target_reg_p.
* reload1.c (elimination_target_reg_p): New function.
(gen_reload): In the move/add2 fallback, make sure that op0
does not overlap the destination register.

From-SVN: r124215
gcc/ChangeLog
gcc/reload.c
gcc/reload.h
gcc/reload1.c