diff options
Diffstat (limited to 'gcc/cp/typeck.c')
-rw-r--r-- | gcc/cp/typeck.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/typeck.c b/gcc/cp/typeck.c index 3cc746a5ba4..38fd1583dc9 100644 --- a/gcc/cp/typeck.c +++ b/gcc/cp/typeck.c @@ -1562,7 +1562,7 @@ cxx_sizeof_or_alignof_type (tree type, enum tree_code op, bool complain) if (complain) pedwarn (input_location, OPT_Wpointer_arith, "invalid application of %qs to a member function", - operator_name_info[(int) op].name); + OVL_OP_INFO (false, op)->name); else return error_mark_node; value = size_one_node; |