diff options
author | Pedro Alves <pedro@palves.net> | 2020-08-22 18:00:55 +0100 |
---|---|---|
committer | Pedro Alves <pedro@palves.net> | 2020-09-13 15:46:21 +0100 |
commit | 3b8d4c5cc045ba80cc5b095fba06287050b7ef87 (patch) | |
tree | cad9b15a0e3b4953b0431d28a417a495991e63dd /gdb/NEWS | |
parent | d5f96005a632d2a4e08ed93beb3ba0a01d12ce24 (diff) | |
download | gdb-3b8d4c5cc045ba80cc5b095fba06287050b7ef87.zip gdb-3b8d4c5cc045ba80cc5b095fba06287050b7ef87.tar.gz gdb-3b8d4c5cc045ba80cc5b095fba06287050b7ef87.tar.bz2 |
Remove stale "register" bits from gdb.cp/misc.cc
gdb.cp/misc.cc seems to have been originally copied from
gdb.cp/classes.cc. The testcases that use it, misc.exp and
inherit.exp don't reference the "register" bits anywhere. Remove
them, since they trigger warnings with newer GCCs, given "register" is
being removed in C++17.
gdb/testsuite/ChangeLog:
* gdb.cp/inherit.exp: No longer pass -Wno-deprecated-register.
* gdb.cp/misc.exp: No longer pass -Wno-deprecated-register.
* gdb.cp/misc.cc (class small, small::method, marker_reg1)
(register_class): Delete.
(main): Don't call register_class.
Diffstat (limited to 'gdb/NEWS')
0 files changed, 0 insertions, 0 deletions