Constify maybe_suffix.

From-SVN: r177314
This commit is contained in:
Ramana Radhakrishnan 2011-08-04 06:59:51 +00:00 committed by Ramana Radhakrishnan
parent 63a7307104
commit 6eb9142a25
2 changed files with 6 additions and 1 deletions

View 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

View 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)