OSDN Git Service

gcc/
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 6 Mar 2007 09:01:07 +0000 (09:01 +0000)
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 6 Mar 2007 09:01:07 +0000 (09:01 +0000)
commit350e24f518f2dc343aad9bb5ec064186625704a6
treee7694879133c0b1bb72192801c9bf1826003b890
parent8ee6107b33ba923f70878fd4a2352a92934b207b
gcc/
PR target/28181
* config/m68k/m68k-protos.h (m68k_secondary_reload_class): Declare.
(m68k_preferred_reload_class): Likewise.
* config/m68k/m68k.h (HARD_REGNO_MODE_OK): Remove duplicated comment.
(SECONDARY_RELOAD_CLASS): Define.
(PREFERRED_RELOAD_CLASS): Use m68k_preferred_reload_class.
(LIMIT_RELOAD_CLASS): Delete.
* config/m68k/m68k.c (m68k_regno_mode_ok): Don't prevent address
registers from storing bytes.
(m68k_secondary_reload_class): New function.
(m68k_preferred_reload_class): Likewise.

gcc/testsuite/
* gcc.c-torture/compile/m68k-byte-addr.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122609 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/m68k/m68k-protos.h
gcc/config/m68k/m68k.c
gcc/config/m68k/m68k.h
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/m68k-byte-addr.c [new file with mode: 0644]