Message ID | 53EA2C3C.5060701@arm.com |
---|---|
State | New |
Headers | show
Return-Path: <patchwork-forward+bncBCRZHD4OJAINNWFIT4CRUBBDWIR5A@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ig0-f197.google.com (mail-ig0-f197.google.com [209.85.213.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 87481203C5 for <linaro@patches.linaro.org>; Tue, 12 Aug 2014 15:01:43 +0000 (UTC) Received: by mail-ig0-f197.google.com with SMTP id r2sf24838996igi.0 for <linaro@patches.linaro.org>; Tue, 12 Aug 2014 08:01:42 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:mailing-list:precedence:list-id :list-unsubscribe:list-archive:list-post:list-help:sender :delivered-to:message-id:date:from:user-agent:mime-version:to :subject:x-original-sender:x-original-authentication-results :content-type; bh=lt3GqMSgLJEkPor6AYQR4rFowtdoI7Ueh/A/I8I0jFk=; b=SNi82NEYkB2WCc5jRxl/695+Uw9oxeaPOBgZUdEpgbxG27uYhpn/qmo//nLf1kG4Pg GPz3/7s0QXTDYmQwp7B91LZ/3J733dh7NDnfoiU6Hi6Kk6rbPTF1Mjee2s7RSf6Kv+Hh Wqr9MimN7jp353QVwsku7a9izQd+ZBjuCPN24LdlD/Tv+bmdIzETUex6xLnie3Sytrst JRy+mgDqUo9VzxY0VNyw/8T38VlyVHotTgZG2iuANJvnbh9/YwAyPCDwC019vO01hLpA RO9/yGaN8p33mSXR0dRsgxCDyHd7Bi1qMrCAQiZ72oC0lZN8Wx/4kp/xdwwA2U2GGnVa lNkQ== X-Gm-Message-State: ALoCoQlUgWMBotKduZZNYxS+wzHAotlT9Aa/PfmOhf2w8FnOkGWUtpOUEyq7zd9G5O/fcxVTeiGs X-Received: by 10.182.45.197 with SMTP id p5mr2567297obm.2.1407855702706; Tue, 12 Aug 2014 08:01:42 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.108.230 with SMTP id j93ls186226qgf.31.gmail; Tue, 12 Aug 2014 08:01:42 -0700 (PDT) X-Received: by 10.52.82.166 with SMTP id j6mr1048727vdy.87.1407855702595; Tue, 12 Aug 2014 08:01:42 -0700 (PDT) Received: from mail-vc0-x22d.google.com (mail-vc0-x22d.google.com [2607:f8b0:400c:c03::22d]) by mx.google.com with ESMTPS id hi3si6472580vdb.101.2014.08.12.08.01.42 for <patchwork-forward@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 12 Aug 2014 08:01:42 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 2607:f8b0:400c:c03::22d as permitted sender) client-ip=2607:f8b0:400c:c03::22d; Received: by mail-vc0-f173.google.com with SMTP id hy10so13275680vcb.4 for <patchwork-forward@linaro.org>; Tue, 12 Aug 2014 08:01:42 -0700 (PDT) X-Received: by 10.220.15.8 with SMTP id i8mr1713513vca.45.1407855702511; Tue, 12 Aug 2014 08:01:42 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.221.37.5 with SMTP id tc5csp256049vcb; Tue, 12 Aug 2014 08:01:41 -0700 (PDT) X-Received: by 10.68.239.201 with SMTP id vu9mr4881315pbc.35.1407855700904; Tue, 12 Aug 2014 08:01:40 -0700 (PDT) Received: from sourceware.org (server1.sourceware.org. [209.132.180.131]) by mx.google.com with ESMTPS id ne2si16219727pbc.71.2014.08.12.08.01.40 for <patch@linaro.org> (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 12 Aug 2014 08:01:40 -0700 (PDT) Received-SPF: pass (google.com: domain of gcc-patches-return-374926-patch=linaro.org@gcc.gnu.org designates 209.132.180.131 as permitted sender) client-ip=209.132.180.131; Received: (qmail 24822 invoked by alias); 12 Aug 2014 15:01:28 -0000 Mailing-List: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org Precedence: list List-Id: <patchwork-forward.linaro.org> List-Unsubscribe: <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com>, <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/> List-Post: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?topic=25838>, <mailto:patchwork-forward+help@linaro.org> Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 24774 invoked by uid 89); 12 Aug 2014 15:01:20 -0000 X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.2 required=5.0 tests=AWL, BAYES_00, RP_MATCHES_RCVD, SPF_PASS autolearn=ham version=3.3.2 X-HELO: collaborate-mta1.arm.com Received: from fw-tnat.austin.arm.com (HELO collaborate-mta1.arm.com) (217.140.110.23) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 12 Aug 2014 15:01:18 +0000 Received: from [10.1.209.140] (e105545-lin.cambridge.arm.com [10.1.209.140]) by collaborate-mta1.arm.com (Postfix) with ESMTPS id 5EDAF13F88D for <gcc-patches@gcc.gnu.org>; Tue, 12 Aug 2014 10:01:16 -0500 (CDT) Message-ID: <53EA2C3C.5060701@arm.com> Date: Tue, 12 Aug 2014 16:01:16 +0100 From: Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.0 MIME-Version: 1.0 To: "gcc-patches@gcc.gnu.org" <gcc-patches@gcc.gnu.org> Subject: [Patch ARM] Fix PR target/61413 - definition of __ARM_SIZEOF_WCHAR_T X-IsSubscribed: yes X-Original-Sender: ramana.radhakrishnan@arm.com X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 2607:f8b0:400c:c03::22d as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org; dkim=pass header.i=@gcc.gnu.org X-Google-Group-Id: 836684582541 Content-Type: multipart/mixed; boundary="------------080605040509020606010205" |
diff --git a/gcc/config/arm/arm.h b/gcc/config/arm/arm.h index 047df97..96e8626 100644 --- a/gcc/config/arm/arm.h +++ b/gcc/config/arm/arm.h @@ -74,8 +74,8 @@ extern char arm_arch_name[]; builtin_define_with_int_value ( \ "__ARM_SIZEOF_MINIMAL_ENUM", \ flag_short_enums ? 1 : 4); \ - builtin_define_with_int_value ( \ - "__ARM_SIZEOF_WCHAR_T", WCHAR_TYPE_SIZE); \ + builtin_define_type_sizeof ("__ARM_SIZEOF_WCHAR_T", \ + wchar_type_node); \ if (TARGET_ARM_ARCH_PROFILE) \ builtin_define_with_int_value ( \ "__ARM_ARCH_PROFILE", TARGET_ARM_ARCH_PROFILE); \