rl78.c (add_vector_labels): New function.
authorSebastian Perta <sebastian.perta@renesas.com>
Tue, 13 Feb 2018 11:55:39 +0000 (11:55 +0000)
committerSebastian Perta <sebastianperta@gcc.gnu.org>
Tue, 13 Feb 2018 11:55:39 +0000 (11:55 +0000)
commite4c1b7e32283b3886847f9e14b33bda5e5d5d448
treeb84b7ca84fa98f3b659afa9a2064e92e74c9787d
parent9bc5ecf3bcb25abbf868d52e7db076248e0ef174
rl78.c (add_vector_labels): New function.

2018-02-13  Sebastian Perta  <sebastian.perta@renesas.com>

* config/rl78/rl78.c (add_vector_labels): New function.
* config/rl78/rl78.c (rl78_handle_vector_attribute): New function.
* config/rl78/rl78.c (rl78_start_function): Call add_vector_labels.
* config/rl78/rl78.c (rl78_handle_func_attribute): Removed the assert
which checks that no arguments are passed.
* config/rl78/rl78.c (rl78_attribute_table): Add "vector" attribute.
* doc/extend.texi: Documentation for the new attribute.

2018-02-13  Sebastian Perta  <sebastian.perta@renesas.com>

* gcc.target/rl78/test_auto_vector.c: New test.

From-SVN: r257622
gcc/ChangeLog
gcc/config/rl78/rl78.c
gcc/doc/extend.texi
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/rl78/test_auto_vector.c [new file with mode: 0644]