This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/17192] Functions returning pointer via argument are broken
- From: "toon at moene dot indiv dot nluug dot nl" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 8 Sep 2004 19:05:52 -0000
- Subject: [Bug fortran/17192] Functions returning pointer via argument are broken
- References: <20040825220057.17192.tobi@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From toon at moene dot indiv dot nluug dot nl 2004-09-08 19:05 -------
It compiles, but I doubt it returns the right answer:
toon@book:~/g95-bugs$ /usr/snp/bin/gfortran -static 17192.f90
toon@book:~/g95-bugs$ ./a.out
ìÿø
This is on powerpc-unknown-linux-gnu, using gcc-3.5-20040907.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17192