-
Notifications
You must be signed in to change notification settings - Fork 6
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
Support No_Secondary_Stack
restriction
#911
Comments
GNAT Community 2019 complains about violations of the While all other compilers ignore the |
The explicit `clean` is added for GNAT Community 2020 and Pro 20.2. The compilation of the test suite with restrictions is disabled for FSF GNAT, as this compiler compiles the AUnit source code, which is incompatible to the restrictions, regardless of whether it is needed. Ref. #911
Enabling `-gnata` and `-O` at the same time leads to very long build times. Ref. #911
The explicit `clean` is added for GNAT Community 2020 and Pro 20.2. The compilation of the test suite with restrictions is disabled for FSF GNAT, as this compiler compiles the AUnit source code, which is incompatible to the restrictions, regardless of whether it is needed. Ref. #911
Enabling `-gnata` and `-O` at the same time leads to very long build times. Ref. #911
The
No_Secondary_Stack
restriction is not fulfilled by the generated code at the moment:The problem is the
Read
function that return the unconstrainedBytes
type:We should replace those with procedures and and add
pragma Restrictions (No_Secondary_Stack);
to our compile tests.The text was updated successfully, but these errors were encountered: