From patchwork Tue Feb 13 18:38:02 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jeff Law X-Patchwork-Id: 873116 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=gcc.gnu.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=gcc-patches-return-473195-incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="tvICQK9z"; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3zgrrk4Jn3z9t1t for ; Wed, 14 Feb 2018 05:38:13 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:to :from:subject:message-id:date:mime-version:content-type; q=dns; s=default; b=t8lbkrHZa3eaBYF0OozmXK6jf7ixrA7Kv4cqOnM4jm7t6Rieso gVowF47GECMWcw015WBSFsrSjDYM3BmsVWJFQPGv646d/tMsiy6OCOQglh+Q2uko hoWRRQlRzkuCpT+6BYNNXuOQXS0r7LKKO2t7NSGmg9I3eTEqqeYbt83yo= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:to :from:subject:message-id:date:mime-version:content-type; s= default; bh=5i7SXikiVyKkoM25U5LrY1UzadM=; b=tvICQK9z3mpsxALFANU5 r1djvC/Cryd8YpQ9UZfBrgKwfLzgNaJB+nFIBz7PRvccHGMtTPue9OsvFFr8O2mc vc60D+9ua8+KYhDLl44y0iY1r7bZdUP4jxKJIq1n/YHZWlcYpsfLom1ANM+5+rIV 3RNsSCikcN5cf735UwagCg4= Received: (qmail 112244 invoked by alias); 13 Feb 2018 18:38:06 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 112234 invoked by uid 89); 13 Feb 2018 18:38:05 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-26.9 required=5.0 tests=BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy= X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 13 Feb 2018 18:38:05 +0000 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id DC546C0587DE for ; Tue, 13 Feb 2018 18:38:03 +0000 (UTC) Received: from localhost.localdomain (ovpn-112-36.rdu2.redhat.com [10.10.112.36]) by smtp.corp.redhat.com (Postfix) with ESMTP id 433215C881 for ; Tue, 13 Feb 2018 18:38:03 +0000 (UTC) To: gcc-patches From: Jeff Law Subject: [committed][PATCH] Fix another minor rl78 build failure Message-ID: <60e9c8e5-ce3b-b33d-757d-6cf6bf256450@redhat.com> Date: Tue, 13 Feb 2018 11:38:02 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 X-IsSubscribed: yes 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 --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 } };