This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/24245] -fdump-parse-tree gives ICE for CONTAINED functions
- From: "eedelman at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 1 Nov 2005 21:40:11 -0000
- Subject: [Bug fortran/24245] -fdump-parse-tree gives ICE for CONTAINED functions
- References: <bug-24245-9741@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from eedelman at gcc dot gnu dot org 2005-11-01 21:40 -------
Subject: Bug 24245
Author: eedelman
Date: Tue Nov 1 21:40:06 2005
New Revision: 106353
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=106353
Log:
fortran/
2005-11-01 Erik Edelmann <eedelman@gcc.gnu.org>
PR 24245
* trans.c (gfc_generate_code): Move code to create a main
program symbol from here ...
* parse.c (main_program_symbol): ... to this new
function, setting the locus from gfc_current_locus
instead of ns->code->loc.
(gfc_parse_file): Call main_program_symbol for main programs.
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/parse.c
trunk/gcc/fortran/trans.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24245