From patchwork Thu Aug 4 06:59:23 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ramana Radhakrishnan X-Patchwork-Id: 3259 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id AC93B24070 for ; Thu, 4 Aug 2011 06:59:27 +0000 (UTC) Received: from mail-qy0-f180.google.com (mail-qy0-f180.google.com [209.85.216.180]) by fiordland.canonical.com (Postfix) with ESMTP id 73EA8A1834D for ; Thu, 4 Aug 2011 06:59:27 +0000 (UTC) Received: by qyk31 with SMTP id 31so273574qyk.11 for ; Wed, 03 Aug 2011 23:59:27 -0700 (PDT) Received: by 10.229.231.66 with SMTP id jp2mr312581qcb.83.1312441166543; Wed, 03 Aug 2011 23:59:26 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.229.6.73 with SMTP id 9cs3918qcy; Wed, 3 Aug 2011 23:59:26 -0700 (PDT) Received: by 10.224.209.135 with SMTP id gg7mr297026qab.90.1312441166198; Wed, 03 Aug 2011 23:59:26 -0700 (PDT) Received: from mail-qy0-f171.google.com (mail-qy0-f171.google.com [209.85.216.171]) by mx.google.com with ESMTPS id gs10si2109867qab.41.2011.08.03.23.59.26 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 03 Aug 2011 23:59:26 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.216.171 is neither permitted nor denied by best guess record for domain of ramana.radhakrishnan@linaro.org) client-ip=209.85.216.171; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.216.171 is neither permitted nor denied by best guess record for domain of ramana.radhakrishnan@linaro.org) smtp.mail=ramana.radhakrishnan@linaro.org Received: by qyl38 with SMTP id 38so3421613qyl.16 for ; Wed, 03 Aug 2011 23:59:26 -0700 (PDT) MIME-Version: 1.0 Received: by 10.224.209.68 with SMTP id gf4mr353103qab.10.1312441163773; Wed, 03 Aug 2011 23:59:23 -0700 (PDT) Received: by 10.224.6.78 with HTTP; Wed, 3 Aug 2011 23:59:23 -0700 (PDT) Date: Thu, 4 Aug 2011 07:59:23 +0100 Message-ID: Subject: [Patch ARM Committed] Fix for bootstrap issue with arm_set_fixed_conv_libfunc From: Ramana Radhakrishnan To: gcc-patches , Patch Tracking Hi, Bootstrap in C++ mode broke after a recent commit for arm-linux-gnueabi - Committed as obvious . cheers Ramana 2011-08-04 Ramana Radhakrishnan * config/arm/arm.c (arm_set_fixed_conv_libfunc): Constify maybe_suffix. Index: gcc/config/arm/arm.c =================================================================== --- gcc/config/arm/arm.c (revision 177242) +++ gcc/config/arm/arm.c (working copy) @@ -1067,7 +1067,7 @@ const char *toname, const char *fromname) { char buffer[50]; - char *maybe_suffix_2 = ""; + const char *maybe_suffix_2 = ""; /* Follow the logic for selecting a "2" suffix in fixed-bit.h. */ if (ALL_FIXED_POINT_MODE_P (from) && ALL_FIXED_POINT_MODE_P (to)