This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ada/42948] Generic instantiation inside protected object bug box
- From: "tero dot koskinen at iki dot fi" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 Feb 2010 20:47:40 -0000
- Subject: [Bug ada/42948] Generic instantiation inside protected object bug box
- References: <bug-42948-17358@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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 outcome.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42948