]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR fortran/39688 (IMPORT of derived type fails)
authorJanus Weil <janus@gcc.gnu.org>
Sat, 25 Apr 2009 08:11:48 +0000 (10:11 +0200)
committerJanus Weil <janus@gcc.gnu.org>
Sat, 25 Apr 2009 08:11:48 +0000 (10:11 +0200)
commitbc2a4733e2715627ca95a1bccda96a9c2be30ea5
tree1a92e2781232f510b0f32235c4aa3a356875f640
parenta3a5e3d16c61f3bb52e0dd0ab4b639ccd3cf9d3f
re PR fortran/39688 (IMPORT of derived type fails)

2009-04-25  Janus Weil  <janus@gcc.gnu.org>

PR fortran/39688
* decl.c (gfc_match_import): Use 'sym->name' instead of 'name'.
They differ if the symbol has been use-renamed.

2009-04-25  Janus Weil  <janus@gcc.gnu.org>

PR fortran/39688
* gfortran.dg/import7.f90: New.

From-SVN: r146762
gcc/fortran/ChangeLog
gcc/fortran/decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/import7.f90 [new file with mode: 0644]