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: 108351 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) by ozlabs.org (Postfix) with SMTP id 85ABDB6F57 for ; Thu, 4 Aug 2011 16:59:40 +1000 (EST) Received: (qmail 14853 invoked by alias); 4 Aug 2011 06:59:38 -0000 Received: (qmail 14844 invoked by uid 22791); 4 Aug 2011 06:59:38 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL, BAYES_00, RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Received: from mail-qw0-f47.google.com (HELO mail-qw0-f47.google.com) (209.85.216.47) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 04 Aug 2011 06:59:24 +0000 Received: by qwh5 with SMTP id 5so1019704qwh.20 for ; Wed, 03 Aug 2011 23:59:23 -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 X-IsSubscribed: yes 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 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)