]> git.ipfire.org Git - thirdparty/gcc.git/commit
backport: re PR fortran/45187 (ICE with CRAY pointer in module)
authorFrancois-Xavier Coudert <fxcoudert@gcc.gnu.org>
Sun, 15 Jun 2014 19:35:11 +0000 (19:35 +0000)
committerFrançois-Xavier Coudert <fxcoudert@gcc.gnu.org>
Sun, 15 Jun 2014 19:35:11 +0000 (19:35 +0000)
commitb1526715c36ce44e49506b5b2b1ab70e85e604b2
tree99a2b037abd29c1f798de024e23a4b2e3cc93661
parent3807eaf885efd06c4418545e329350ae48fd4228
backport: re PR fortran/45187 (ICE with CRAY pointer in module)

Backport from trunk
PR fortran/45187

* trans-decl.c (gfc_create_module_variable): Don't create
Cray-pointee decls twice.

* gfortran.dg/cray_pointers_10.f90: New file.

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