From 43edc4f5ac0d0a679b87338043f5d6a372750533 Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Tue, 13 Feb 2018 11:36:51 -0700 Subject: [PATCH] rl78.c (rl78_attribute_table): Fix terminator and entry for "vector". 2018-02-13 Jeff Law * config/rl/rl78.c (rl78_attribute_table): Fix terminator and entry for "vector". From-SVN: r257633 --- gcc/ChangeLog | 3 +++ gcc/config/rl78/rl78.c | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a7b43651115..e2f71932f77 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,8 @@ 2018-02-13 Jeff Law + * config/rl/rl78.c (rl78_attribute_table): Fix terminator and + entry for "vector". + * config/rl78/rl78.c (rl78_handle_func_attribute): Mark ARGS as unused. diff --git a/gcc/config/rl78/rl78.c b/gcc/config/rl78/rl78.c index 5158e83c364..8346c9c31e0 100644 --- a/gcc/config/rl78/rl78.c +++ b/gcc/config/rl78/rl78.c @@ -905,8 +905,8 @@ const struct attribute_spec rl78_attribute_table[] = rl78_handle_naked_attribute, NULL }, { "saddr", 0, 0, true, false, false, false, rl78_handle_saddr_attribute, NULL }, - { "vector", 1, -1, true, false, false, - rl78_handle_vector_attribute, false }, + { "vector", 1, -1, true, false, false, false, + rl78_handle_vector_attribute, NULL }, { NULL, 0, 0, false, false, false, false, NULL, NULL } }; -- 2.30.2