diff options
author | Jason Merrill <jason@redhat.com> | 2010-05-13 16:53:38 -0400 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2010-05-13 16:53:38 -0400 |
commit | 3a11c6659187eb67fd9f2a28fc5e1dbda1e555a8 (patch) | |
tree | 205bfc38b3172fb070a52733bb7e123d7b9671e1 /gcc/cp/class.c | |
parent | a2e66caf57a55c157600620d0f258115f5c9788b (diff) | |
download | gcc-3a11c6659187eb67fd9f2a28fc5e1dbda1e555a8.zip gcc-3a11c6659187eb67fd9f2a28fc5e1dbda1e555a8.tar.gz gcc-3a11c6659187eb67fd9f2a28fc5e1dbda1e555a8.tar.bz2 |
typeck.c (cp_build_array_ref): Factor out from...
* typeck.c (cp_build_array_ref): Factor out from...
(build_array_ref): ...here. Drop complain parm.
(build_new_op): Adjust.
* class.c (build_vtbl_ref_1): Adjust.
* decl2.c (grok_array_decl): Adjust.
* cp-tree.h: Adjust prototypes.
From-SVN: r159377
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 e22ef07..88db80f 100644 --- a/gcc/cp/class.c +++ b/gcc/cp/class.c @@ -629,7 +629,7 @@ build_vtbl_ref_1 (tree instance, tree idx) if (!vtbl) vtbl = build_vfield_ref (instance, basetype); - aref = build_array_ref (input_location, vtbl, idx, tf_warning_or_error); + aref = build_array_ref (input_location, vtbl, idx); TREE_CONSTANT (aref) |= TREE_CONSTANT (vtbl) && TREE_CONSTANT (idx); return aref; |