decl.c (is_from_limited_with_of_main): New predicate.
authorEric Botcazou <ebotcazou@adacore.com>
Mon, 16 Mar 2015 09:40:14 +0000 (09:40 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Mon, 16 Mar 2015 09:40:14 +0000 (09:40 +0000)
commitcb55aefb0d60debc8968e184d4ecdf661cc549ac
tree0bd3eb619cedaa1be5a78f3f4c2a1f349eca4efc
parentc8dbf886e992daca83e878f3397909a0f7a33d93
decl.c (is_from_limited_with_of_main): New predicate.

* gcc-interface/decl.c (is_from_limited_with_of_main): New predicate.
(gnat_to_gnu_entity) <E_Subprogram_Type>: Invoke it on return and
parameter types to detect circularities in ASIS mode.
* gcc-interface/trans.c (Attribute_to_gnu): Mention AI05-0151.

From-SVN: r221447
gcc/ada/ChangeLog
gcc/ada/gcc-interface/decl.c
gcc/ada/gcc-interface/trans.c