gigi.h (record_builtin_type): Add ARTIFICIAL_P param.
authorEric Botcazou <ebotcazou@adacore.com>
Sat, 2 Apr 2011 08:28:21 +0000 (08:28 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Sat, 2 Apr 2011 08:28:21 +0000 (08:28 +0000)
commit1aeb40dd6d0e8d5a62d25679fa6b0533d72fd4dd
treed56f7d3a44278a2ed83858803463e8d2b84bb2c4
parent80ec8b4cf19ac985c95e2a222d84e48324cb8994
gigi.h (record_builtin_type): Add ARTIFICIAL_P param.

* gcc-interface/gigi.h (record_builtin_type): Add ARTIFICIAL_P param.
* gcc-interface/utils.c (gnat_pushdecl): If this is a non-artificial
declaration of an array type, then set DECL_ORIGINAL_TYPE to a distinct
copy.
(record_builtin_type): Add ARTIFICIAL_P parameter.  Set DECL_ARTIFICIAL
flag of the type accordingly.
* gcc-interface/trans.c (gigi): Adjust calls to record_builtin_type.

From-SVN: r171880
gcc/ada/ChangeLog
gcc/ada/gcc-interface/gigi.h
gcc/ada/gcc-interface/trans.c
gcc/ada/gcc-interface/utils.c