[Ada] Infinite loop on illegal declaration
This patch updates predicate Null_Status to prevent an infinite recursion when the argument is an illegal object declaration of an access type. 2019-07-11 Hristian Kirtchev <kirtchev@adacore.com> gcc/ada/ * sem_util.adb (Null_Status): Assume that an erroneous construct has an undefined null status. gcc/testsuite/ * gnat.dg/self_ref1.adb: New testcase. From-SVN: r273389
Showing
gcc/testsuite/gnat.dg/self_ref1.adb
0 → 100644
Please
register
or
sign in
to comment