diff options
author | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2020-05-09 22:56:14 +0200 |
---|---|---|
committer | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2020-05-09 22:56:14 +0200 |
commit | 2448ee85a89f313e48ee40eaed0d645c4c027944 (patch) | |
tree | 4359ad4a72a81748938f787b46ccf8fd78e6c9e3 /gcc/ada/gcc-interface/cuintp.c | |
parent | e92f85c792c8c5e7846ba2bc7f5e24f08dcdfece (diff) | |
download | gcc-2448ee85a89f313e48ee40eaed0d645c4c027944.zip gcc-2448ee85a89f313e48ee40eaed0d645c4c027944.tar.gz gcc-2448ee85a89f313e48ee40eaed0d645c4c027944.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/cuintp.c')
0 files changed, 0 insertions, 0 deletions