diff options
author | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2020-06-23 18:33:28 +0200 |
---|---|---|
committer | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2020-06-23 18:35:48 +0200 |
commit | d63fbcf80081d6fc6b746667fcacc8eb6e34f306 (patch) | |
tree | 0bdd3e645ad6a2cbf1c7dce9aef254e117ff0ade /gcc/ada/scos.h | |
parent | b523ee1f4b139532ecffb2bf707e65cfc5a837fe (diff) | |
download | gcc-d63fbcf80081d6fc6b746667fcacc8eb6e34f306.zip gcc-d63fbcf80081d6fc6b746667fcacc8eb6e34f306.tar.gz gcc-d63fbcf80081d6fc6b746667fcacc8eb6e34f306.tar.bz2 |
Fix memory corruption with vector and variant record
The problem is that Has_Constrained_Partial_View must be tested on the
base type of the designated type of an allocator.
gcc/ada/ChangeLog:
* gcc-interface/trans.c (gnat_to_gnu) <N_Allocator>: Minor tweaks.
Call Has_Constrained_Partial_View on base type of designated type.
Diffstat (limited to 'gcc/ada/scos.h')
0 files changed, 0 insertions, 0 deletions