diff mbox

[ARM,Committed] Fix for bootstrap issue with arm_set_fixed_conv_libfunc

Message ID CACUk7=WiktnKjDvX8S2bJvATGkMHSAU8zUKq3REV2sdd3-1dyA@mail.gmail.com
State Accepted
Headers show

Commit Message

Ramana Radhakrishnan Aug. 4, 2011, 6:59 a.m. UTC
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.
diff mbox

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)