diff options
author | Hristian Kirtchev <kirtchev@adacore.com> | 2019-07-11 08:02:07 +0000 |
---|---|---|
committer | Pierre-Marie de Rodat <pmderodat@gcc.gnu.org> | 2019-07-11 08:02:07 +0000 |
commit | f9e5da46f7708d7eaf5a080e51dd6d5553bdf37a (patch) | |
tree | e87479117811cf69184b7a5c1865a5904fcf1744 /gcc/resource.c | |
parent | 29c64a0f6d13bf413cf338da23580e8a94ead23c (diff) | |
download | gcc-f9e5da46f7708d7eaf5a080e51dd6d5553bdf37a.zip gcc-f9e5da46f7708d7eaf5a080e51dd6d5553bdf37a.tar.gz gcc-f9e5da46f7708d7eaf5a080e51dd6d5553bdf37a.tar.bz2 |
[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
Diffstat (limited to 'gcc/resource.c')
0 files changed, 0 insertions, 0 deletions