------- Comment #6 from pault at gcc dot gnu dot org 2005-11-11 05:37 ------- Subject: Bug 24755
Author: pault Date: Fri Nov 11 05:37:40 2005 New Revision: 106779 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=106779 Log: 2005-11-11 Paul Thomas <[EMAIL PROTECTED]> 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 PR fortran/16861 * module.c (mio_component_ref): Return if the symbol is NULL and wait for another iteration during module reads. (mio_symtree_ref): Suppress the writing of contained symbols, when a symbol is available in the main namespace. Take care that a symbol is not substituted for by a the symbol for the module itself and prevent the promotion of a formal argument. (read_module): Give symbols for variables from contained module procedures different true_name entries to those from the module proper. 2005-11-11 Paul Thomas <[EMAIL PROTECTED]> 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. PR fortran/16861 * gfortran.dg/nested_modules_3.f90: New test. * gfortran.dg/nested_modules_2.f90: New test. Added: branches/gcc-4_0-branch/gcc/testsuite/gfortran.dg/nested_modules_2.f90 branches/gcc-4_0-branch/gcc/testsuite/gfortran.dg/nested_modules_3.f90 branches/gcc-4_0-branch/gcc/testsuite/gfortran.dg/nested_modules_4.f90 branches/gcc-4_0-branch/gcc/testsuite/gfortran.dg/nested_modules_5.f90 Modified: branches/gcc-4_0-branch/gcc/fortran/ChangeLog branches/gcc-4_0-branch/gcc/fortran/match.c branches/gcc-4_0-branch/gcc/fortran/module.c branches/gcc-4_0-branch/gcc/testsuite/ChangeLog branches/gcc-4_0-branch/gcc/testsuite/gfortran.dg/nested_modules_1.f90 branches/gcc-4_0-branch/gcc/testsuite/gfortran.dg/recursive_statement_functions.f90 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24755