* tree.h (TYPE_TRANSPARENT_UNION): Replace with ... (TYPE_TRANSPARENT_AGGR): this, for union and record. * calls.c (initialize argument_information): Handle it. * c-common.c (handle_transparent_union_attribute): Use new name. * c-decl.c (finish_struct): Ditto. * c-typeck.c (type_lists_compatible_p): Ditto. (convert_for_assignment): Use new name and also handle record. * function.c (aggregate_value_p): Handle it. (pass_by_reference): Ditto. (assign_parm_data_types): Ditto. * print-tree.c (print_node): Ditto. * lto-streamer-in.c (unpack_ts_type_value_fields): Ditto. * lto-streamer-out.c (pack_ts_type_value_fields): Ditto. * tree.c (first_field): New fn. gcc/cp/ * mangle.c (write_type): Mangle transparent record as member type. * semantics.c (begin_class_definition): Recognize decimal classes and set TYPE_TRANSPARENT_AGGR. Co-Authored-By: Jason Merrill <jason@redhat.com> From-SVN: r156106
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
abi | Loading commit data... | |
break | Loading commit data... | |
decimal | Loading commit data... | |
eh | Loading commit data... | |
init | Loading commit data... | |
compat.exp | Loading commit data... | |
struct-layout-1.exp | Loading commit data... | |
struct-layout-1.h | Loading commit data... | |
struct-layout-1_generate.c | Loading commit data... | |
struct-layout-1_x1.h | Loading commit data... | |
struct-layout-1_x2.h | Loading commit data... | |
struct-layout-1_y1.h | Loading commit data... | |
struct-layout-1_y2.h | Loading commit data... |