[Bug ada/59671] Improper Ada behavior under -gnat2012
p-kell at live dot com
gcc-bugzilla@gcc.gnu.org
Sun Jan 5 18:24:00 GMT 2014
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59671
Patrick Kelly <p-kell at live dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |UNCONFIRMED
Resolution|DUPLICATE |---
--- Comment #2 from Patrick Kelly <p-kell at live dot com> ---
Exactly why I marked this as blocker. There is no workaround. -gnat2012 will
not compile properly, plain and simple. Adding "out" to a parameter of a
function results in this error. Stepping back to -gnat2005 is not a workaround,
it's moving to a different language; it's a less severe form of moving from,
say Ada to ALGOL.
I disagree with this being a duplicate, as the problem in that report, which I
read prior to filing this one, is an issue with pragmas behavior, while this is
with "out" parameters of functions; these are not the same thing. Two different
issues are reporting the same error message; the error message is what is
common, not the error.
More information about the Gcc-bugs
mailing list