aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-cfg.c
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2019-07-22 13:57:09 +0000
committerPierre-Marie de Rodat <pmderodat@gcc.gnu.org>2019-07-22 13:57:09 +0000
commite7f4682af254be73f91ddbb543bc0bc3fcd27659 (patch)
tree2941b1fc84b3f7262d5c60e646621c1d9818cbd7 /gcc/tree-cfg.c
parentfd90c808628cead705bb4521d9b8beea0edcf2bf (diff)
downloadgcc-e7f4682af254be73f91ddbb543bc0bc3fcd27659.zip
gcc-e7f4682af254be73f91ddbb543bc0bc3fcd27659.tar.gz
gcc-e7f4682af254be73f91ddbb543bc0bc3fcd27659.tar.bz2
[Ada] Internal error on iterator for limited private discriminated type
This patch further extends the short-circuit, aka optimization, present in the Check_Constrained_Object procedure used for renaming declarations to all limited types, so as to prevent type mismatches downstream in more cases. 2019-07-22 Eric Botcazou <ebotcazou@adacore.com> gcc/ada/ * sem_ch8.adb (Check_Constrained_Object): Further extend the special optimization to all limited types. gcc/testsuite/ * gnat.dg/iter5.adb, gnat.dg/iter5_pkg.ads: New testcase. From-SVN: r273677
Diffstat (limited to 'gcc/tree-cfg.c')
0 files changed, 0 insertions, 0 deletions