This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
[Patch, fortran] PR40796 - Invalid code when returning unallocated component of derived type
- From: Paul Richard Thomas <paul dot richard dot thomas at gmail dot com>
- To: fortran at gcc dot gnu dot org, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 22 Jul 2009 20:16:08 +0200
- Subject: [Patch, fortran] PR40796 - Invalid code when returning unallocated component of derived type
Committed to trunk as obvious - revision 149952.
I do not intend to backport this because -Wunused picks up the
problem. Also, I do not think that a testcase is warranted because it
is so much of a corner case.
Paul
2009-07-22 Paul Thomas <pault@gcc.gnu.org>
PR fortran/40796
* trans-decl.c (generate_local_decl): Unreferenced result
variables with allocatable components should be treated like
INTENT_OUT dummy variables.
2009-07-21 Richard Guenther <rguenther@suse.de>
PR fortran/40726
Change attribution to Richi.