https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42948
Eric Botcazou changed:
What|Removed |Added
Resolution|--- |FIXED
Target Milestone|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42948
Eric Botcazou changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|
--- Comment #4 from tero dot koskinen at iki dot fi 2010-02-03 20:47
---
Another Ada compiler (Janus/Ada) accepts the code and gives following output
when the program is ran:
[C:\work\tests\rw1]main
0
0
0
0
0
0
0
0
0
0
[C:\work\tests\rw1]
Which is probably the expected outco
--- Comment #3 from gcc at coreland dot ath dot cx 2010-02-03 20:29 ---
A GNAT Pro customer I speak to says:
main.adb:20:07: instantiation error at ng.adb:6
main.adb:20:07: missing argument for parameter "_Object" in call to "Show_N"
(inherited) at line 14
--
http://gcc.gnu.org/bug
--- Comment #2 from gcc at coreland dot ath dot cx 2010-02-03 20:28 ---
+===GNAT BUG DETECTED==+
| 4.5.0 20090514 (experimental) (i686-pc-linux-gnu) Assert_Failure
exp_ch6.adb:4603|
| Error detected at ng.adb:6:7 [main.adb:20:7]
--- Comment #1 from gcc at coreland dot ath dot cx 2010-02-03 20:24 ---
Created an attachment (id=19798)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19798&action=view)
Repro
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42948