diff options
author | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2020-05-08 17:18:20 +0200 |
---|---|---|
committer | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2020-05-08 17:25:12 +0200 |
commit | e34495985e49545c468e664ee10bd0e66c7395bf (patch) | |
tree | ee654f813c85e07812e4b4564d5078fef176cc32 /libcpp/include/cpplib.h | |
parent | bb1ec4773a01e5bbb7cb6e2f53ea338a74a6797f (diff) | |
download | gcc-e34495985e49545c468e664ee10bd0e66c7395bf.zip gcc-e34495985e49545c468e664ee10bd0e66c7395bf.tar.gz gcc-e34495985e49545c468e664ee10bd0e66c7395bf.tar.bz2 |
Fix uniqueness of address for aliased objects
Two aliased objects must have distinct addresses, even if they have
size zero, so we make sure to allocate at least one byte for them.
* gcc-interface/decl.c (gnat_to_gnu_entity) <E_Variable>: Force at
least the unit size for an aliased object of a constrained nominal
subtype whose size is variable.
Diffstat (limited to 'libcpp/include/cpplib.h')
0 files changed, 0 insertions, 0 deletions