r234959 - in /trunk/gcc/cp: ChangeLog call.c cp...
jason@gcc.gnu.org
jason@gcc.gnu.org
Wed Apr 13 20:11:00 GMT 2016
Author: jason
Date: Wed Apr 13 20:11:20 2016
New Revision: 234959
URL: https://gcc.gnu.org/viewcvs?rev=234959&root=gcc&view=rev
Log:
Pass empty class parameters like C.
* call.c (pass_as_empty_struct, empty_class_arg): New.
(type_passed_as, build_x_va_arg): Use pass_as_empty_struct.
(build_call_a): Use empty_class_arg.
* cp-tree.h (CPTI_EMPTY_STRUCT, empty_struct_type): New.
* decl.c (cxx_init_decl_processing): Create empty_struct_type.
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/call.c
trunk/gcc/cp/cp-tree.h
trunk/gcc/cp/decl.c
More information about the Gcc-cvs
mailing list