re PR target/44707 (operand requires impossible reload)
commit58e6223e9283df9deb166d5dbc1fcc4d21c17ce0
authorEric Botcazou <ebotcazou@adacore.com>
Sun, 25 Jul 2010 21:46:32 +0000 (25 21:46 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Sun, 25 Jul 2010 21:46:32 +0000 (25 21:46 +0000)
tree284105be708372bf5543c50132112c18baf16068
parentbfb7cccf060832bc63e0fdac12674cfb888a6ea2
re PR target/44707 (operand requires impossible reload)

PR target/44707
* config/sparc/sparc-protos.h (sparc_legitimize_reload_address): New.
* config/sparc/sparc.c: Include reload.h.
(legitimize_tls_address): Rename into...
(sparc_legitimize_tls_address): ...this.
(legitimize_pic_address): Rename into...
(sparc_legitimize_pic_address): ...this.
(sparc_expand_move): Adjust to above renaming.
(sparc_tls_referenced_p): Likewise.
(sparc_legitimize_tls_address): Likewise.
(sparc_legitimize_pic_address): Likewise.
(sparc_legitimize_address): Likewise.
(sparc_output_mi_thunk): Likewise.
(sparc_legitimize_reload_address): New global function.  Recognize
(lo_sum (high ...) ...) patterns generated by earlier passes.
* config/sparc/sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Use above function.

From-SVN: r162521
gcc/ChangeLog
gcc/config/sparc/sparc-protos.h
gcc/config/sparc/sparc.c
gcc/config/sparc/sparc.h