From: Ramana Radhakrishnan Date: Thu, 4 Aug 2011 06:59:51 +0000 (+0000) Subject: Constify maybe_suffix. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6eb9142a253d5b28caa2e6230b5de5d07d4d52f1;p=gcc.git Constify maybe_suffix. From-SVN: r177314 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 58daaa31c45..5449bf33f8d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2011-08-04 Ramana Radhakrishnan + + * config/arm/arm.c (arm_set_fixed_optab_libfunc): Constify + maybe_suffix. + 2011-08-03 David Li * tree-optimize.c (execute_fixup_cfg): Fix up entry diff --git a/gcc/config/arm/arm.c b/gcc/config/arm/arm.c index 28b34c28815..6cd80f829b8 100644 --- a/gcc/config/arm/arm.c +++ b/gcc/config/arm/arm.c @@ -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)