* call.c (build_over_call): Remove require_complete_type_sfinae call.
From-SVN: r171070
This commit is contained in:
parent
585e9d9de3
commit
e676810ed1
@ -1,5 +1,7 @@
|
||||
2011-03-16 Jason Merrill <jason@redhat.com>
|
||||
|
||||
* call.c (build_over_call): Remove require_complete_type_sfinae call.
|
||||
|
||||
PR c++/48132
|
||||
* decl.c (check_array_designated_initializer): Allow integer index.
|
||||
(reshape_init_array_1): Set index on the elements.
|
||||
|
@ -5994,8 +5994,6 @@ build_over_call (struct z_candidate *cand, int flags, tsubst_flags_t complain)
|
||||
argarray);
|
||||
if (TREE_THIS_VOLATILE (fn) && cfun)
|
||||
current_function_returns_abnormally = 1;
|
||||
if (!VOID_TYPE_P (return_type))
|
||||
require_complete_type_sfinae (return_type, complain);
|
||||
return convert_from_reference (expr);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user