aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/class.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cp/class.c')
-rw-r--r--gcc/cp/class.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/class.c b/gcc/cp/class.c
index ac71fc5..97a3597 100644
--- a/gcc/cp/class.c
+++ b/gcc/cp/class.c
@@ -435,7 +435,7 @@ static void
build_vtable_entry_ref (basetype, idx)
tree basetype, idx;
{
- static char asm_stmt[] = ".vtable_entry %c0, %c1";
+ static const char asm_stmt[] = ".vtable_entry %c0, %c1";
tree s, i, i2;
tree vtable = get_vtbl_decl_for_binfo (TYPE_BINFO (basetype));
tree first_fn = TYPE_BINFO_VTABLE (basetype);