Revert 2017-08-28 Nathan Sidwell <nathan@acm.org> Restore sorted_fields vector.
authorNathan Sidwell <nathan@acm.org>
Fri, 1 Sep 2017 13:03:10 +0000 (13:03 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Fri, 1 Sep 2017 13:03:10 +0000 (13:03 +0000)
commit18a01e8562aa48e978c0326d3e18fc290c1c9ca6
tree2c0373f74a6a2edbad3679aa8e80504d5352702f
parent002618d87483cfb6481b0a044f113c9cf87d4ed6
Revert 2017-08-28 Nathan Sidwell <nathan@acm.org> Restore sorted_fields vector.

Revert 2017-08-28  Nathan Sidwell  <nathan@acm.org>
Restore sorted_fields vector.
* cp-tree.h (lang_type): Restore sorted_fields vector.
(CLASSTYPE_SORTED_FIELDS): Restore.
(CLASSTYPE_BINDINGS): Delete.
* name-lookup.c (lookup_field_1): Restore binary search.
(sorted_fields_type_new, count_fields,
add_fields_to_record_type, add_enum_fields_to_record_type): Restore
(set_class_bindings): Revert.
(insert_late_enum_def_binding): Restore field_vec insertion.

From-SVN: r251592
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/name-lookup.c