re PR fortran/29098 (allocation of a pointer to a derived type crashes)
authorPaul Thomas <pault@gcc.gnu.org>
Wed, 4 Oct 2006 04:48:35 +0000 (04:48 +0000)
committerPaul Thomas <pault@gcc.gnu.org>
Wed, 4 Oct 2006 04:48:35 +0000 (04:48 +0000)
commit404d84017e5ff32987ec19d70e57fd20d15beea5
treee9a1fd6e762da7974311f4c34cb790b81b47d6c2
parentee1d3dc013ba01f325df8029b4ba23c2e1229df0
re PR fortran/29098 (allocation of a pointer to a derived type crashes)

2006-10-04  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/29098
* resolve.c (resolve_structure_cons): Do not return FAILURE if
component expression is NULL.

2006-10-04  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/29098
* gfortran.dg/default_initialization_2.f90: New test.

From-SVN: r117424
gcc/fortran/ChangeLog
gcc/fortran/resolve.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/default_initialization_2.f90 [new file with mode: 0644]