]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/ada/ChangeLog
tree.h (TYPE_ARTIFICIAL): New flag.
authorEric Botcazou <ebotcazou@adacore.com>
Sat, 2 Jul 2011 18:13:47 +0000 (18:13 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Sat, 2 Jul 2011 18:13:47 +0000 (18:13 +0000)
commitbc712852cdef0fad0484d07e6ea0ecca92904c0c
treed81811c5891ba2622e09eaca7ba4eb4907770a39
parent49860194e29e3cb2d571e9f9a413b1858967953e
tree.h (TYPE_ARTIFICIAL): New flag.

* tree.h (TYPE_ARTIFICIAL): New flag.
* dwarf2out.c (modified_type_die): Add a DW_AT_artificial attribute to
the DIE of the type if it is artificial.
(gen_array_type_die): Likewise.
(gen_enumeration_type_die): Likewise.
(gen_struct_or_union_type_die): Likewise.
* lto-streamer-in.c (unpack_ts_base_value_fields): Use TYPE_ARTIFICIAL.
* lto-streamer-out.c (pack_ts_base_value_fields): Likewise.
ada/
* gcc-interface/utils.c (record_builtin_type): Set TYPE_ARTIFICIAL on
the type according to the ARTIFICIAL_P parameter.
(create_type_decl): Likewise.
(create_type_stub_decl): Set TYPE_ARTIFICIAL on the type to 1.

Co-Authored-By: Nicolas Setton <setton@adacore.com>
Co-Authored-By: Olivier Hainque <hainque@adacore.com>
From-SVN: r175781
gcc/ChangeLog
gcc/ada/ChangeLog
gcc/ada/gcc-interface/utils.c
gcc/dwarf2out.c
gcc/lto-streamer-in.c
gcc/lto-streamer-out.c
gcc/testsuite/ChangeLog
gcc/testsuite/gnat.dg/specs/debug1.ads [new file with mode: 0644]
gcc/tree.h