]> git.ipfire.org Git - thirdparty/gcc.git/commit
ada: Mark some type decls as nameless
authorTom Tromey <tromey@adacore.com>
Wed, 10 Jul 2024 17:54:25 +0000 (11:54 -0600)
committerMarc Poulhiès <dkm@gcc.gnu.org>
Fri, 25 Oct 2024 09:09:04 +0000 (11:09 +0200)
commit88715b94809895343caa405accb8f3c42c791853
tree399f97aadc1a359906fbd7eb9ea8189986810cc0
parent125a6e41176b7584caf4cf01c5b2ce77c9f195d2
ada: Mark some type decls as nameless

The types created by record_builtin_type and create_type_stub_decl can
be marked as nameless when using minimal encodings.  In this
situation, gdb does not need these type names.

gcc/ada/ChangeLog:

* gcc-interface/utils.cc (record_builtin_type, create_type_stub_decl):
Set DECL_NAMELESS on type decls.
gcc/ada/gcc-interface/utils.cc