diff options
author | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2020-05-09 22:56:14 +0200 |
---|---|---|
committer | Giuliano Belinassi <giuliano.belinassi@usp.br> | 2020-08-17 12:58:11 -0300 |
commit | 52b3adcf43eaf41af2ee32b51de373e470d8be42 (patch) | |
tree | 4359ad4a72a81748938f787b46ccf8fd78e6c9e3 /gcc/ada/gcc-interface/utils.c | |
parent | 332fa999e61e196c2529b2e0e434de48180992e6 (diff) | |
download | gcc-52b3adcf43eaf41af2ee32b51de373e470d8be42.zip gcc-52b3adcf43eaf41af2ee32b51de373e470d8be42.tar.gz gcc-52b3adcf43eaf41af2ee32b51de373e470d8be42.tar.bz2 |
Fix tree sharing issue with slices
This can happen because we build an array type on the fly in case there
is an apparent type inconsistency in the construct.
* gcc-interface/utils2.c (build_binary_op) <ARRAY_RANGE_REF>: Use
build_nonshared_array_type to build the common type and declare it.
Diffstat (limited to 'gcc/ada/gcc-interface/utils.c')
0 files changed, 0 insertions, 0 deletions