From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16259 invoked by alias); 11 Nov 2005 05:37:51 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 16148 invoked by alias); 11 Nov 2005 05:37:46 -0000 Date: Fri, 11 Nov 2005 05:37:00 -0000 Message-ID: <20051111053746.16146.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug fortran/24655] ICE with statement function In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "pault at gcc dot gnu dot org" X-SW-Source: 2005-11/txt/msg01557.txt.bz2 List-Id: ------- Comment #5 from pault at gcc dot gnu dot org 2005-11-11 05:37 ------- Subject: Bug 24655 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 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 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=24655