This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/18197] bus error on returning from a function
- From: "tobi at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 8 Dec 2004 23:58:47 -0000
- Subject: [Bug fortran/18197] bus error on returning from a function
- References: <20041028123126.18197.niilo.sirola@tut.fi>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From tobi at gcc dot gnu dot org 2004-12-08 23:58 -------
For the second call we generate:
atmp.12.dtype = 281;
atmp.12.data = 0B;
atmp.12.offset = 0;
atmp.12.dim[0].stride = 0;
... (no changes to atmp.12
funname (&atmp.12, (int4 *) n, &atmp.16);
which is clearly not correct, as atmp.12 should point to y (as it correctly does
in the first call).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18197