[Bug fortran/24245] -fdump-parse-tree gives ICE for CONTAINED functions

eedelman at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Nov 1 21:50:00 GMT 2005



------- Comment #6 from eedelman at gcc dot gnu dot org  2005-11-01 21:50 -------
Subject: Bug 24245

Author: eedelman
Date: Tue Nov  1 21:50:26 2005
New Revision: 106355

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=106355
Log:
fortran/
2005-11-01  Erik Edelmann  <eedelman@gcc.gnu.org>

        PR fortran/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:
    branches/gcc-4_0-branch/gcc/fortran/ChangeLog
    branches/gcc-4_0-branch/gcc/fortran/parse.c
    branches/gcc-4_0-branch/gcc/fortran/trans.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24245



More information about the Gcc-bugs mailing list