This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ada/42150] GNAT (really) appears to misbehave with limited types/finalization/extended return
- From: "gcc at coreland dot ath dot cx" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 Jan 2010 22:51:42 -0000
- Subject: [Bug ada/42150] GNAT (really) appears to misbehave with limited types/finalization/extended return
- References: <bug-42150-17358@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #23 from gcc at coreland dot ath dot cx 2010-01-18 22:51 -------
Created an attachment (id=19652)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19652&action=view)
Another repro
A smaller, simpler piece of code that triggers this:
$ gnatmake p.adb
p.adb:8:70: wrong type for return_subtype_indication
gnatmake: "p.adb" compilation error
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42150