aboutsummaryrefslogtreecommitdiff
path: root/gcc/resource.c
diff options
context:
space:
mode:
authorHristian Kirtchev <kirtchev@adacore.com>2019-07-11 08:02:07 +0000
committerPierre-Marie de Rodat <pmderodat@gcc.gnu.org>2019-07-11 08:02:07 +0000
commitf9e5da46f7708d7eaf5a080e51dd6d5553bdf37a (patch)
treee87479117811cf69184b7a5c1865a5904fcf1744 /gcc/resource.c
parent29c64a0f6d13bf413cf338da23580e8a94ead23c (diff)
downloadgcc-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