diff options
Diffstat (limited to 'gcc/cp/class.c')
-rw-r--r-- | gcc/cp/class.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/class.c b/gcc/cp/class.c index 5f7d4a2..4f69c7e 100644 --- a/gcc/cp/class.c +++ b/gcc/cp/class.c @@ -627,7 +627,7 @@ build_vtbl_ref_1 (tree instance, tree idx) assemble_external (vtbl); - aref = build_array_ref (vtbl, idx); + aref = build_array_ref (vtbl, idx, input_location); TREE_CONSTANT (aref) |= TREE_CONSTANT (vtbl) && TREE_CONSTANT (idx); return aref; |