]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR fortran/24655 (ICE with statement function)
authorPaul Thomas <pault@gcc.gnu.org>
Thu, 10 Nov 2005 22:24:28 +0000 (22:24 +0000)
committerPaul Thomas <pault@gcc.gnu.org>
Thu, 10 Nov 2005 22:24:28 +0000 (22:24 +0000)
commit9081e356a1fbf0133fd25ccfa21fe2e4ee710b20
treef8af7b25e393d0bdcc9c501354353285b3dd30cc
parentc040ffff7577b6798465f6c025de2b1f77cec1e9
re PR fortran/24655 (ICE with statement function)

2005-11-10  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/24655
PR fortran/24755
* match.c (recursive_stmt_fcn): Add checks that symtree exists
for the expression to weed out inline intrinsic functions and
parameters.

PR fortran/24409
* module.c (mio_symtree_ref): Correct the patch of 0923 so that
a symbol is not substituted for by a the symbol for the module
itself and to prevent the promotion of a formal argument.

2005-11-10  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/24655
PR fortran/24755
* gfortran.dg/recursive_statement_functions.f90: Add statement
functions using inline intrinsic functions and parameters to test
that they no longer seg-fault.

PR fortran/24409
gfortran.dg/nested_modules_4.f90: New test.
gfortran.dg/nested_modules_5.f90: New test.

From-SVN: r106756
gcc/fortran/ChangeLog
gcc/fortran/match.c
gcc/fortran/module.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/nested_modules_4.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/nested_modules_5.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/recursive_statement_functions.f90