diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2020-09-12 12:36:30 +0200 |
---|---|---|
committer | Eric Botcazou <ebotcazou@adacore.com> | 2020-09-12 12:37:47 +0200 |
commit | 4965be0b3388557643114c1ec20bd206f0bda1df (patch) | |
tree | 6a7a512bb146d15d24acc1c21c82bb69d89cfb4a /gcc/ada/gcc-interface/trans.c | |
parent | ac35c090821f92f41e83d1688eaf2e2b4946afb1 (diff) | |
download | gcc-4965be0b3388557643114c1ec20bd206f0bda1df.zip gcc-4965be0b3388557643114c1ec20bd206f0bda1df.tar.gz gcc-4965be0b3388557643114c1ec20bd206f0bda1df.tar.bz2 |
Accept absolute address clause for array of UNC nominal subtype
This changes the compiler to accept again absolute address clause for
aliased array of unconstrained nominal subtype, instead of erroring
out in this case.
gcc/ada/ChangeLog:
* gcc-interface/decl.c (gnat_to_gnu_entity) <E_Variable>: Only give
a warning for the overlay of an aliased array with an unconstrained
nominal subtype if the address is absolute.
Diffstat (limited to 'gcc/ada/gcc-interface/trans.c')
0 files changed, 0 insertions, 0 deletions