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
Inline_Always
-gnata
-gnateV
Under certain conditions the use Inline_Always, -gnata and -gnateV leads to an unexpected error:
$ gprbuild -gnateV -gnata using project file /opt/GNAT/2021/share/gpr/_default.gpr Compile [Ada] main.adb test.adb: In function 'Test.P': test.adb:4:4: error: subprogram 'Test.P' not marked 'Inline_Always' test.adb:4:4: error: parent subprogram cannot be inlined gprbuild: *** compilation phase failed
Do not use Inline_Always, -gnata (and -gnateV) together. (Only in some cases, removing -gnateV is sufficient.)
The text was updated successfully, but these errors were encountered:
Improve binary size by always inlining scalar setters
1d38fa9
Ref. #908, Componolit/Workarounds#49
bf0447a
6743277
71dd1e1
No branches or pull requests
Issue
Under certain conditions the use
Inline_Always
,-gnata
and-gnateV
leads to an unexpected error:Workaround
Do not use
Inline_Always
,-gnata
(and-gnateV
) together. (Only in some cases, removing-gnateV
is sufficient.)The text was updated successfully, but these errors were encountered: