This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/43450] -fwhole-file: ICE in gfc_create_module_variable, at fortran/trans-decl.c:3386
- From: "pault at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 20 Mar 2010 16:01:38 -0000
- Subject: [Bug fortran/43450] -fwhole-file: ICE in gfc_create_module_variable, at fortran/trans-decl.c:3386
- References: <bug-43450-13404@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from pault at gcc dot gnu dot org 2010-03-20 16:01 -------
Subject: Bug 43450
Author: pault
Date: Sat Mar 20 16:01:17 2010
New Revision: 157595
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=157595
Log:
2010-03-20 Paul Thomas <pault@gcc.gnu.org>
PR fortran/43450
* trans-decl.c (gfc_create_module_variable): With -fwhole-file
do not assert the context of derived types.
2010-03-20 Paul Thomas <pault@gcc.gnu.org>
PR fortran/43450
* gfortran.dg/whole_file_15.f90 : New test.
Added:
trunk/gcc/testsuite/gfortran.dg/whole_file_15.f90
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/trans-decl.c
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43450