diff --git a/gcc/gengtype-parse.cc b/gcc/gengtype-parse.cc index 2efbda04946..fce1fe95165 100644 --- a/gcc/gengtype-parse.cc +++ b/gcc/gengtype-parse.cc @@ -82,7 +82,6 @@ static const char *const token_names[] = { "ptr_alias", "nested_ptr", "user", - "a param_is option", "a number", "a scalar type", "an identifier", @@ -95,7 +94,6 @@ static const char *const token_names[] = { /* This array is indexed by token code minus FIRST_TOKEN_WITH_VALUE. */ /* Keep in sync with 'gengtype.h:enum gty_token'. */ static const char *const token_value_format[] = { - "%s", "'%s'", "'%s'", "'%s'", diff --git a/gcc/gengtype.cc b/gcc/gengtype.cc index 54d3c8aaec3..49ddba684af 100644 --- a/gcc/gengtype.cc +++ b/gcc/gengtype.cc @@ -1388,8 +1388,6 @@ adjust_field_rtx_def (type_p t, options_p ARG_UNUSED (opt)) At present: - Converts pointer-to-char, with no length parameter, to TYPE_STRING; - Similarly for arrays of pointer-to-char; - - Converts structures for which a parameter is provided to - TYPE_PARAM_STRUCT; - Handles "special" options. */ @@ -3654,7 +3652,7 @@ write_func_for_structure (type_p orig_s, type_p s, } -/* Write out marker routines for STRUCTURES and PARAM_STRUCTS. */ +/* Write out marker routines for STRUCTURES. */ static void write_types (outf_p output_header, type_p structures, @@ -4002,7 +4000,7 @@ write_local_func_for_structure (const_type_p orig_s, type_p s) } } -/* Write out local marker routines for STRUCTURES and PARAM_STRUCTS. */ +/* Write out local marker routines for STRUCTURES. */ static void write_local (outf_p output_header, type_p structures) diff --git a/gcc/gengtype.h b/gcc/gengtype.h index 2122373edf2..13942900910 100644 --- a/gcc/gengtype.h +++ b/gcc/gengtype.h @@ -478,7 +478,6 @@ enum gty_token PTR_ALIAS, NESTED_PTR, USER_GTY, - UNUSED_PARAM_IS, NUM, SCALAR, ID, @@ -489,7 +488,7 @@ enum gty_token /* print_token assumes that any token >= FIRST_TOKEN_WITH_VALUE may have a meaningful value to be printed. */ - FIRST_TOKEN_WITH_VALUE = UNUSED_PARAM_IS + FIRST_TOKEN_WITH_VALUE = NUM };