re PR fortran/41258 (internal compiler error: in find_typebound_proc_uop, at fortran...
authorPaul Thomas <pault@gcc.gnu.org>
Sat, 5 Sep 2009 14:20:51 +0000 (14:20 +0000)
committerPaul Thomas <pault@gcc.gnu.org>
Sat, 5 Sep 2009 14:20:51 +0000 (14:20 +0000)
commitb2acf594606e2ad30b325e7dde4380285ed23fdb
tree42140c8a45a6377d974fed999e12f6737792497c
parent896237cdcd1172e00b0b672ce846aa5c885f3c9e
re PR fortran/41258 (internal compiler error: in find_typebound_proc_uop, at fortran/symbol.c:4575)

2009-09-05  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/41258
* primary.c (gfc_match_varspec): Do not look for typebound
procedures unless the derived type has a f2k_derived namespace.

2009-09-05  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/41258
* gfortran.dg/typebound_proc_12.f90 : New test.

From-SVN: r151451
gcc/fortran/ChangeLog
gcc/fortran/primary.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/typebound_proc_12.f90 [new file with mode: 0644]