Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The Ada f-e generates bogus records for descendants of tagged types with a variant part (ACATS c393010) #2382

Closed
llvmbot opened this issue Feb 10, 2008 · 0 comments
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

Comments

@llvmbot
Copy link
Collaborator

llvmbot commented Feb 10, 2008

Bugzilla Link 2010
Version trunk
OS Linux
Attachments testcase .ads
Reporter LLVM Bugzilla Contributor

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.

@llvmbot llvmbot transferred this issue from llvm/llvm-bugzilla-archive Dec 3, 2021
@asl asl added obsolete wontfix Issue is real, but we can't or won't fix it. Not invalid labels Dec 14, 2021
@asl asl closed this as completed Dec 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
None yet
Development

No branches or pull requests

2 participants