]> gcc.gnu.org Git - gcc.git/commit
re PR fortran/28172 ([4.2 and 4.1 only] alternate return in contained procedure segfa...
authorPaul Thomas <pault@gcc.gnu.org>
Mon, 15 Jan 2007 08:16:17 +0000 (08:16 +0000)
committerPaul Thomas <pault@gcc.gnu.org>
Mon, 15 Jan 2007 08:16:17 +0000 (08:16 +0000)
commit9ebe2d22e7201bca8e75111ec66ccae8454896ae
treea550028d50f83d692906ac5ccf4710e018f70359
parent32d6b8aef41aa68e506f2e66ca10b1fdafbb3aaf
re PR fortran/28172 ([4.2 and 4.1 only] alternate return in contained procedure segfaults)

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

PR fortran/28172
* trans-stmt.c (gfc_trans_call): If it does not have one, get
a backend_decl for an alternate return.

PR fortran/29389
* resolve.c (pure_function): Statement functions are pure. Note
that this will have to recurse to comply fully with F95.

PR fortran/29712
* resolve.c (resolve_function): Only a reference to the final
dimension of an assumed size array is an error in an inquiry
function.

PR fortran/30283
* resolve.c (resolve_function): Make sure that the function
expression has a type.

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

PR fortran/28172
* gfortran.dg/altreturn_4.f90: New test.

PR fortran/29389
* gfortran.dg/stfunc_4.f90: New test.

PR fortran/29712
* gfortran.dg/bound_2.f90: Reinstate commented out line.
* gfortran.dg/initialization_1.f90: Change warning.

PR fortran/30283
* gfortran.dg/specification_type_resolution_2.f90: New test.

From-SVN: r120790
gcc/fortran/ChangeLog
gcc/fortran/resolve.c
gcc/fortran/trans-stmt.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/altreturn_4.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/bound_2.f90
gcc/testsuite/gfortran.dg/initialization_1.f90
gcc/testsuite/gfortran.dg/specification_type_resolution_2.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/stfunc_4.f90 [new file with mode: 0644]
This page took 0.066215 seconds and 5 git commands to generate.