We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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 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;
The text was updated successfully, but these errors were encountered:
Is this still a problem in dragonegg? Is this (and other stuff in tools/gnat) worth tracking?
Sorry, something went wrong.
Moved to dragonegg.
Dragonegg doesn't appear to exist anymore.
No branches or pull requests
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;
The text was updated successfully, but these errors were encountered: