diff options
author | David Malcolm <dmalcolm@redhat.com> | 2013-10-24 02:10:10 +0000 |
---|---|---|
committer | David Malcolm <dmalcolm@gcc.gnu.org> | 2013-10-24 02:10:10 +0000 |
commit | 18aa2b0407fcae29979103a8f9be4652c7d34193 (patch) | |
tree | 47f303b7d339aeffeb3949f863c13b6533cf2f60 /gcc/ada/gcc-interface/Make-lang.in | |
parent | 2f3097a3e288ba16caa19a66e1a48f2f2ffc7a6c (diff) | |
download | gcc-18aa2b0407fcae29979103a8f9be4652c7d34193.zip gcc-18aa2b0407fcae29979103a8f9be4652c7d34193.tar.gz gcc-18aa2b0407fcae29979103a8f9be4652c7d34193.tar.bz2 |
gengtype: parse base classes for some GTY-marked types
2013-10-23 David Malcolm <dmalcolm@redhat.com>
* gengtype-parse.c (require_without_advance): New.
(type): For GTY-marked types that are not GTY((user)), parse any
base classes, requiring them to be single-inheritance, and not
be templates. For non-GTY-marked types and GTY((user)),
continue to skip over any C++ inheritance specification.
* gengtype-state.c (state_writer::write_state_struct_type):
Write base class of type (if any).
(read_state_struct_type): Read base class of type (if any).
* gengtype.c (new_structure): Add a "base_class" parameter.
(create_optional_field_): Update for new parameter to
new_structure.
(adjust_field_rtx_def): Likewise.
(adjust_field_tree_exp): Likewise.
* gengtype.h (struct type): Add "base_class" field to the s
union field.
(new_structure): Add "base" parameter.
From-SVN: r204003
Diffstat (limited to 'gcc/ada/gcc-interface/Make-lang.in')
0 files changed, 0 insertions, 0 deletions