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

Objects of arbitrary type can be bitfields #2353

Closed
llvmbot opened this issue Feb 4, 2008 · 3 comments
Closed

Objects of arbitrary type can be bitfields #2353

llvmbot opened this issue Feb 4, 2008 · 3 comments
Labels
bugzilla Issues migrated from bugzilla confirmed The bug has been verified by a second party obsolete

Comments

@llvmbot
Copy link
Collaborator

llvmbot commented Feb 4, 2008

Bugzilla Link 1981
Version trunk
OS Linux
Reporter LLVM Bugzilla Contributor

Extended Description

The Ada front-end expects the back-end to handle bitfields of
arbitrary type. In the following example, a bitfield of struct type:

package Bit_Struct is
type R is record
A : Integer;
B : String (1 .. 3);
end record;

type S is record
An_R : R;
end record;
for S use record
An_R at 0 range 4 .. 60;
end record;

An_S : constant S := (An_R => (A => 0, B => "Yo!"));
end;

@lattner
Copy link
Collaborator

lattner commented Dec 2, 2010

Is this still a problem in dragonegg? Is this (and other stuff in tools/gnat) worth tracking?

@llvmbot
Copy link
Collaborator Author

llvmbot commented Dec 2, 2010

Moved to dragonegg.

@llvmbot llvmbot transferred this issue from llvm/llvm-bugzilla-archive Dec 3, 2021
@llvmbot llvmbot added the confirmed The bug has been verified by a second party label Jan 26, 2022
@bwendling
Copy link
Collaborator

bwendling commented Mar 5, 2022

Dragonegg doesn't appear to exist anymore.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugzilla Issues migrated from bugzilla confirmed The bug has been verified by a second party obsolete
Projects
None yet
Development

No branches or pull requests

4 participants