diff options
Diffstat (limited to 'gcc/ch/grant.c')
-rw-r--r-- | gcc/ch/grant.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ch/grant.c b/gcc/ch/grant.c index b0e7e5c9660..ddd8f936443 100644 --- a/gcc/ch/grant.c +++ b/gcc/ch/grant.c @@ -2546,7 +2546,7 @@ globalize_decl (decl) { extern FILE *asm_out_file; extern char *first_global_object_name; - char *name = XSTR (XEXP (DECL_RTL (decl), 0), 0); + const char *name = XSTR (XEXP (DECL_RTL (decl), 0), 0); if (!first_global_object_name) first_global_object_name = name + (name[0] == '*'); |