Constify maybe_suffix.
authorRamana Radhakrishnan <ramana.radhakrishnan@linaro.org>
Thu, 4 Aug 2011 06:59:51 +0000 (06:59 +0000)
committerRamana Radhakrishnan <ramana@gcc.gnu.org>
Thu, 4 Aug 2011 06:59:51 +0000 (06:59 +0000)
From-SVN: r177314

gcc/ChangeLog
gcc/config/arm/arm.c

index 58daaa31c45ef435da295752f7306c4e7a50bf6c..5449bf33f8dccb74a0cb62313eff42bc2f37c25f 100644 (file)
@@ -1,3 +1,8 @@
+2011-08-04  Ramana Radhakrishnan  <ramana.radhakrishnan@linaro.org>
+
+       * config/arm/arm.c (arm_set_fixed_optab_libfunc): Constify
+       maybe_suffix.
+
 2011-08-03   David Li  <davidxl@google.com>
 
        * tree-optimize.c (execute_fixup_cfg): Fix up entry
index 28b34c288156075ae0d4f645bd3fefb85cbd44bd..6cd80f829b850f19e6f9c89957fa12c78fd50f4f 100644 (file)
@@ -1067,7 +1067,7 @@ arm_set_fixed_conv_libfunc (convert_optab optable, enum machine_mode to,
                            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)