Avoid BImode in reload_cse_move2add
Richard Kenner
kenner@vlsi1.ultra.nyu.edu
Fri Nov 18 13:16:00 GMT 2005
This was one of two kludges that were discussed, felt OK, but I was hoping
to find a better fix. Since I haven't, I might as well get this in before
the branch. I again lost my notes on what this fixes, but it was some
Ada ACATS test, I think.
Tested on x86_64-linux-gnu and committed.
2005-11-18 Richard Kenner <kenner@don.gnat.com>
* postreload.c (reload_cse_move2add): Don't try to work with BImode.
*** postreload.c (revision 107176)
--- postreload.c (working copy)
*************** reload_cse_move2add (rtx first)
*** 1269,1273 ****
validate_change (insn, &SET_SRC (pat), tem, 0);
}
! else
{
enum machine_mode narrow_mode;
--- 1269,1273 ----
validate_change (insn, &SET_SRC (pat), tem, 0);
}
! else if (GET_MODE (reg) != BImode)
{
enum machine_mode narrow_mode;
More information about the Gcc-patches
mailing list