OSDN Git Service

PR fortran/16861
authorfxcoudert <fxcoudert@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 19 Apr 2005 07:10:05 +0000 (07:10 +0000)
committerfxcoudert <fxcoudert@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 19 Apr 2005 07:10:05 +0000 (07:10 +0000)
commit06367b6e15ff32cc95b4b1c9ca58b7080a4cbd3d
tree8df8134ac278ca36ff0980df848ac7970a0e17d4
parent5f1ac770e0c36a7b188d6ad44b0043967c859c6d
PR fortran/16861
* resolve.c (resolve_variable): If e->symtree is not set, this
ought to be a FAILURE, and not a segfault.
* gfortran.dg/pr16861.f90: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98391 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/fortran/ChangeLog
gcc/fortran/resolve.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/pr16861.f90 [new file with mode: 0644]