This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/49268] Invalid code generated for assumed-size Cray pointee
- From: "langton at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 6 Jun 2011 18:17:32 +0000
- Subject: [Bug fortran/49268] Invalid code generated for assumed-size Cray pointee
- Auto-submitted: auto-generated
- References: <bug-49268-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49268
--- Comment #3 from Asher Langton <langton at gcc dot gnu.org> 2011-06-06 18:17:28 UTC ---
Author: langton
Date: Mon Jun 6 18:17:26 2011
New Revision: 174719
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=174719
Log:
PR fortran/49268
* trans-decl.c (gfc_trans_deferred_vars): Treat assumed-size Cray
pointees as AS_EXPLICIT.
PR fortran/49268
* gfortran.dg/PR49268.f90: New test.
Added:
branches/gcc-4_6-branch/gcc/testsuite/gfortran.dg/PR49268.f90
Modified:
branches/gcc-4_6-branch/gcc/fortran/ChangeLog
branches/gcc-4_6-branch/gcc/fortran/trans-decl.c
branches/gcc-4_6-branch/gcc/testsuite/ChangeLog