aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/iresolve.c
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@gcc.gnu.org>2020-06-23 18:33:28 +0200
committerGiuliano Belinassi <giuliano.belinassi@usp.br>2020-08-17 13:14:36 -0300
commit0a03f574d09892ee596c4fbe0f3f78da074aab39 (patch)
tree939c055a47c6ec9a9d5f1abf62a8e1aae84c8fd3 /gcc/fortran/iresolve.c
parentd8600d7bb1d7f88222760ca271da46d28699bae0 (diff)
downloadgcc-0a03f574d09892ee596c4fbe0f3f78da074aab39.zip
gcc-0a03f574d09892ee596c4fbe0f3f78da074aab39.tar.gz
gcc-0a03f574d09892ee596c4fbe0f3f78da074aab39.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/fortran/iresolve.c')
0 files changed, 0 insertions, 0 deletions