diff options
author | Ed Schonberg <schonberg@adacore.com> | 2019-07-11 08:02:53 +0000 |
---|---|---|
committer | Pierre-Marie de Rodat <pmderodat@gcc.gnu.org> | 2019-07-11 08:02:53 +0000 |
commit | a13a714e710f13b6fa6f88481a3c94b7d2dbc8cf (patch) | |
tree | ae2a85f3c9039b8718d0be7b8a2ebcb14bd3d650 /gcc/tree-ssa-alias.c | |
parent | 810097a72d1767627d2439bb94627b443f41bf7f (diff) | |
download | gcc-a13a714e710f13b6fa6f88481a3c94b7d2dbc8cf.zip gcc-a13a714e710f13b6fa6f88481a3c94b7d2dbc8cf.tar.gz gcc-a13a714e710f13b6fa6f88481a3c94b7d2dbc8cf.tar.bz2 |
[Ada] Crash on protected type with self-referential component
This patch fixes a compiler abort on a declarastion for a protected type
PT when one of its private component is of type access PT.
2019-07-11 Ed Schonberg <schonberg@adacore.com>
gcc/ada/
* exp_ch9.adb (Expand_N_Protected_Type_Declaaration): New
subsidiary routine Replace_Access_Definition, to handle properly
a protected type PT one of whose private components is of type
access PT.
gcc/testsuite/
* gnat.dg/prot8.adb, gnat.dg/prot8.ads: New testcase.
From-SVN: r273399
Diffstat (limited to 'gcc/tree-ssa-alias.c')
0 files changed, 0 insertions, 0 deletions