The Ada f-e generates bogus records for descendants of tagged types with a variant part (ACATS c393010) #2382
Labels
bugzilla
Issues migrated from bugzilla
llvm-tools
All llvm tools that do not have corresponding tag
obsolete
wontfix
Issue is real, but we can't or won't fix it. Not invalid
Extended Description
The problem occurs when a child type, due to a discriminant
constraint, does not have all the fields of the parent. The
f-e nonetheless generates the non-present fields in the child
record type even if they are off the end of the record (this
causes llvm-gcc to abort). See attached testcase.
The text was updated successfully, but these errors were encountered: