PR target/17306
commit817c57484fcb80eea6f5eeb27e9d9f7df510a606
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 6 Feb 2015 06:19:03 +0000 (6 06:19 +0000)
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 6 Feb 2015 06:19:03 +0000 (6 06:19 +0000)
tree5cfc7f4da69207a8e4b9fc8e4803bf14c224f02b
parent17b364c48cc838e1e311fd47c683ebffa33919c1
PR target/17306
* config/h8300/constraints.md (U): Correctly dectect
"eightbit_data" memory addresses.
* config/h8300/h8300.c (eightbit_constant_address_p): Also
handle (const (plus (symbol_ref (x)))) where x is declared
as an 8-bit data memory address.
* config/h8300/h8300.md (call, call_value): Correctly detect
"funcvec" functions.

PR target/17306
* gcc.target/h8300/pr17306-1.c: New test.
* gcc.target/h8300/pr17306-2.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@220472 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/h8300/constraints.md
gcc/config/h8300/h8300.c
gcc/config/h8300/h8300.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/h8300/pr17306-1.c [new file with mode: 0644]
gcc/testsuite/gcc.target/h8300/pr17306-2.c [new file with mode: 0644]