From patchwork Sun Oct 23 10:55:30 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eric Botcazou X-Patchwork-Id: 78821 Delivered-To: patch@linaro.org Received: by 10.140.97.247 with SMTP id m110csp2090506qge; Sun, 23 Oct 2016 03:56:01 -0700 (PDT) X-Received: by 10.99.66.130 with SMTP id p124mr15317481pga.30.1477220161241; Sun, 23 Oct 2016 03:56:01 -0700 (PDT) Return-Path: Received: from sourceware.org (server1.sourceware.org. [209.132.180.131]) by mx.google.com with ESMTPS id q1si10638041pgf.264.2016.10.23.03.56.00 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 23 Oct 2016 03:56:01 -0700 (PDT) Received-SPF: pass (google.com: domain of gcc-patches-return-439326-patch=linaro.org@gcc.gnu.org designates 209.132.180.131 as permitted sender) client-ip=209.132.180.131; Authentication-Results: mx.google.com; dkim=pass header.i=@gcc.gnu.org; spf=pass (google.com: domain of gcc-patches-return-439326-patch=linaro.org@gcc.gnu.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=gcc-patches-return-439326-patch=linaro.org@gcc.gnu.org DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:subject:date:message-id:mime-version:content-type :content-transfer-encoding; q=dns; s=default; b=m1bu2iZcrWzf8GjR y8Cwc0mwdHAqtZXRsGxgmLlW613IhqOiC3PJm2vYzmpB4Brtk4szdo6HD01LMofM x0lkUq+/8+LkaJc5gipO+R1IengSOtd/s0XXv4PC5gNWFHJQqDSQ09vc7PoQsSsQ VDwyBnCur3DcuHxYjtRgU5j75I0= 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:from :to:subject:date:message-id:mime-version:content-type :content-transfer-encoding; s=default; bh=z++YIOTumqGQsyMSX2HO91 urT8o=; b=l1Tyui/wmbtbOPxd7Kp0hriC4SS/WTmW/dJRmPz/ZIHydFv+v8hJEl qAresV1X6UR2yyBQF+Uyo4mUBTs/DPr3OyuRCt6nLrZU0VmU7JoWIjEe+4/zzSjw pkq4O8K7tw0/bCovENJBeBgQJBbyKqDKJyGoovxfE81/aHgBkFDqk= Received: (qmail 126820 invoked by alias); 23 Oct 2016 10:55:46 -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 126795 invoked by uid 89); 23 Oct 2016 10:55:43 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL, BAYES_00, RCVD_IN_DNSWL_NONE, SPF_PASS autolearn=ham version=3.3.2 spammy=TARGET_ARCH64, target_arch64, 2016-10-23 X-HELO: smtp.eu.adacore.com Received: from mel.act-europe.fr (HELO smtp.eu.adacore.com) (194.98.77.210) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sun, 23 Oct 2016 10:55:33 +0000 Received: from localhost (localhost [127.0.0.1]) by filtered-smtp.eu.adacore.com (Postfix) with ESMTP id E90FA812EA for ; Sun, 23 Oct 2016 12:55:30 +0200 (CEST) Received: from smtp.eu.adacore.com ([127.0.0.1]) by localhost (smtp.eu.adacore.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id mR4HztgaDYKq for ; Sun, 23 Oct 2016 12:55:30 +0200 (CEST) Received: from polaris.localnet (bon31-6-88-161-99-133.fbx.proxad.net [88.161.99.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.eu.adacore.com (Postfix) with ESMTPSA id C7C45812E6 for ; Sun, 23 Oct 2016 12:55:30 +0200 (CEST) From: Eric Botcazou To: gcc-patches@gcc.gnu.org Subject: [SPARC] Fix pasto in config/sparc/sparc-c.c Date: Sun, 23 Oct 2016 12:55:30 +0200 Message-ID: <3819266.Meaovk6lZq@polaris> User-Agent: KMail/4.14.10 (Linux/3.16.7-42-desktop; KDE/4.14.9; x86_64; ; ) MIME-Version: 1.0 Tested on SPARC/Solaris, applied on the mainline and 6 branch. 2016-10-23 Eric Botcazou * config/sparc/sparc-c.c (sparc_target_macros): Replace TARGET_64BIT with TARGET_ARCH64. Define __VIS to 0x400 if TARGET_VIS4. -- Eric Botcazou Index: config/sparc/sparc-c.c =================================================================== --- config/sparc/sparc-c.c (revision 241437) +++ config/sparc/sparc-c.c (working copy) @@ -29,7 +29,7 @@ sparc_target_macros (void) { builtin_define_std ("sparc"); - if (TARGET_64BIT) + if (TARGET_ARCH64) { cpp_assert (parse_in, "cpu=sparc64"); cpp_assert (parse_in, "machine=sparc64"); @@ -43,7 +43,7 @@ sparc_target_macros (void) if (TARGET_VIS4) { cpp_define (parse_in, "__VIS__=0x400"); - cpp_define (parse_in, "__VIS__=0x400"); + cpp_define (parse_in, "__VIS=0x400"); } else if (TARGET_VIS3) {