re PR target/17306 (function_vector attribute in H8300H/H8S)
commit9f9ab303f713366fd57c338802735b86dcebf110
authorJeff Law <law@redhat.com>
Fri, 6 Feb 2015 06:19:03 +0000 (5 23:19 -0700)
committerJeff Law <law@gcc.gnu.org>
Fri, 6 Feb 2015 06:19:03 +0000 (5 23:19 -0700)
tree5cfc7f4da69207a8e4b9fc8e4803bf14c224f02b
parentd00f6ca670050d56c3ed5ef0c8ccdcce346e1cf2
re PR target/17306 (function_vector attribute in H8300H/H8S)

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.

From-SVN: r220472
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]