diff mbox series

[committed] Fix another minor rl78 build failure

Message ID 60e9c8e5-ce3b-b33d-757d-6cf6bf256450@redhat.com
State New
Headers show
Series [committed] Fix another minor rl78 build failure | expand

Commit Message

Jeff Law Feb. 13, 2018, 6:38 p.m. UTC
This is enough to get it to build cc1.  Installed on the trunk.

Jeff
* config/rl/rl78.c (rl78_attribute_table): Fix terminator and
	entry for "vector".
diff mbox series

Patch

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 }
 };