aboutsummaryrefslogtreecommitdiff
path: root/gcc/d
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@gcc.gnu.org>2020-09-10 17:59:11 +0200
committerEric Botcazou <ebotcazou@gcc.gnu.org>2020-09-10 18:00:57 +0200
commite63eb26d22dbbbbb67f7f240ea5a7234cd2498cb (patch)
treecc0a7633f6e4adc2d8ed81b0af58568d584a2ce6 /gcc/d
parent71465223b95af43951c423ad77391e706f02901d (diff)
downloadgcc-e63eb26d22dbbbbb67f7f240ea5a7234cd2498cb.zip
gcc-e63eb26d22dbbbbb67f7f240ea5a7234cd2498cb.tar.gz
gcc-e63eb26d22dbbbbb67f7f240ea5a7234cd2498cb.tar.bz2
Fix bogus error on Value_Size clause for variant record type
This is a regression present on the mainline and 10 branch: the compiler rejects a Value_Size clause on a discriminated record type with variant. gcc/ada/ChangeLog: * gcc-interface/decl.c (set_rm_size): Do not take into account the Value_Size clause if it is not for the entity itself. gcc/testsuite/ChangeLog: * gnat.dg/specs/size_clause5.ads: New test.
Diffstat (limited to 'gcc/d')
0 files changed, 0 insertions, 0 deletions