summaryrefslogtreecommitdiff
path: root/gcc/optabs.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/optabs.c')
-rw-r--r--gcc/optabs.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/optabs.c b/gcc/optabs.c
index 9ce0c926460..2898b49c870 100644
--- a/gcc/optabs.c
+++ b/gcc/optabs.c
@@ -4430,7 +4430,8 @@ init_one_libfunc (name)
{
if (ggc_p)
name = ggc_alloc_string (name, -1);
- return gen_rtx_SYMBOL_REF (Pmode, name);
+
+ return gen_rtx_SYMBOL_REF (Pmode, (char *) name);
}
/* Mark ARG (which is really an OPTAB *) for GC. */