Constify maybe_suffix.
authorramana <ramana@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 4 Aug 2011 06:59:51 +0000 (06:59 +0000)
committerramana <ramana@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 4 Aug 2011 06:59:51 +0000 (06:59 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@177314 138bc75d-0d04-0410-961f-82ee72b054a4

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

index 58daaa3..5449bf3 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 28b34c2..6cd80f8 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)