Patchwork [ARM,Committed] Fix for bootstrap issue with arm_set_fixed_conv_libfunc

login
register
mail settings
Submitter Ramana Radhakrishnan
Date Aug. 4, 2011, 6:59 a.m.
Message ID <CACUk7=WiktnKjDvX8S2bJvATGkMHSAU8zUKq3REV2sdd3-1dyA@mail.gmail.com>
Download mbox | patch
Permalink /patch/108351/
State New
Headers show

Comments

Ramana Radhakrishnan - Aug. 4, 2011, 6:59 a.m.
Hi,

Bootstrap in C++ mode broke after a recent commit for
arm-linux-gnueabi - Committed as obvious .

cheers
Ramana

2011-08-04  Ramana Radhakrishnan  <ramana.radhakrishnan@linaro.org>

     * config/arm/arm.c (arm_set_fixed_conv_libfunc): Constify maybe_suffix.

Patch

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)