diff options
Diffstat (limited to 'gcc/cp/expr.c')
-rw-r--r-- | gcc/cp/expr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/expr.c b/gcc/cp/expr.c index 3fe6f99..e97a65d 100644 --- a/gcc/cp/expr.c +++ b/gcc/cp/expr.c @@ -62,7 +62,7 @@ cplus_expand_constant (cst) /* Find the offset for the field. */ offset = convert (sizetype, size_binop (EASY_DIV_EXPR, - DECL_FIELD_BITPOS (member), + bit_position (member), bitsize_int (BITS_PER_UNIT))); /* We offset all pointer to data members by 1 so that we |