aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/cvt.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cp/cvt.c')
-rw-r--r--gcc/cp/cvt.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/gcc/cp/cvt.c b/gcc/cp/cvt.c
index 3d5613a..8f501c0 100644
--- a/gcc/cp/cvt.c
+++ b/gcc/cp/cvt.c
@@ -928,7 +928,11 @@ convert_to_void (expr, implicit)
expr, type, implicit ? implicit : "void context");
break;
}
-
+
+ case OFFSET_REF:
+ expr = resolve_offset_ref (expr);
+ break;
+
default:;
}
{