]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/fortran/trans-array.cc
re PR fortran/17077 (adjustable size arrays crash)
authorPaul Brook <pbrook@gcc.gnu.org>
Fri, 20 Aug 2004 13:31:13 +0000 (13:31 +0000)
committerPaul Brook <pbrook@gcc.gnu.org>
Fri, 20 Aug 2004 13:31:13 +0000 (13:31 +0000)
commit841b0c1f951dc45d9df5a10e0a6b952a75a02ebd
treec0f8c05aa6a75da16bc6ae509e0aa81663c0d6dd
parent689ca4e7ae0dcac88d292029d281b75b52e8b431
re PR fortran/17077 (adjustable size arrays crash)

2004-08-20  Paul Brook  <paul@codesourcery.com>
Canqun Yang  <canqun@nudt.edu.cn>

PR fortran/17077
* trans-array.c (gfc_conv_array_parameter): Pass correct pointer
for automatic arrays.
* trans-types.c (gfc_get_nodesc_array_type): Add comment.
testsuite/
* gfortran.dg/auto_array_1.f90: New test.

From-SVN: r86315
gcc/fortran/ChangeLog
gcc/fortran/trans-array.c
gcc/fortran/trans-types.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/auto_array_1.f90 [new file with mode: 0644]