re PR fortran/30554 ([4.1 only] ICE in mio_pointer_ref at module.c:1945)
authorPaul Thomas <pault@gcc.gnu.org>
Mon, 29 Jan 2007 10:27:50 +0000 (10:27 +0000)
committerPaul Thomas <pault@gcc.gnu.org>
Mon, 29 Jan 2007 10:27:50 +0000 (10:27 +0000)
commitaec78e730e868938b44e1c73eb248595a6a97fd9
tree949e338e3757cb36d165fae79e228cdac199a817
parent098b68ad539fb491c024ed60f783581970bb20b3
re PR fortran/30554 ([4.1 only] ICE in mio_pointer_ref at module.c:1945)

2007-01-29  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/30554
* module.c (read_module): If a symbol is excluded by an ONLY
clause, check to see if there is a symtree already loaded. If
so, attach the symtree to the pointer_info.

2007-01-29  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/30554
* gfortran.dg/used_dummy_types_6.f90: New test.

From-SVN: r121281
gcc/fortran/ChangeLog
gcc/fortran/module.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/used_dummy_types_6.f90 [new file with mode: 0644]