aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/tree.c')
-rw-r--r--gcc/tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree.c b/gcc/tree.c
index 7d01d7c..0d3a776 100644
--- a/gcc/tree.c
+++ b/gcc/tree.c
@@ -4528,7 +4528,7 @@ build_complex_type (component_type)
since complex is a fundamental type. */
if (write_symbols == DWARF2_DEBUG && ! TYPE_NAME (t))
{
- char *name;
+ const char *name;
if (component_type == char_type_node)
name = "complex char";
else if (component_type == signed_char_type_node)