aboutsummaryrefslogtreecommitdiff
path: root/gcc/graphite.c
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@gcc.gnu.org>2020-06-23 18:33:28 +0200
committerEric Botcazou <ebotcazou@gcc.gnu.org>2020-06-23 18:35:48 +0200
commitd63fbcf80081d6fc6b746667fcacc8eb6e34f306 (patch)
tree0bdd3e645ad6a2cbf1c7dce9aef254e117ff0ade /gcc/graphite.c
parentb523ee1f4b139532ecffb2bf707e65cfc5a837fe (diff)
downloadgcc-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/graphite.c')
0 files changed, 0 insertions, 0 deletions