[Bug fortran/71688] [4.9/5/6/7 Regression] ICE in analyze, at cgraphunit.c:632 with -fcoarray=lib

jamborm at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Jul 19 15:45:00 GMT 2016


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71688

--- Comment #8 from Martin Jambor <jamborm at gcc dot gnu.org> ---
Author: jamborm
Date: Tue Jul 19 15:44:56 2016
New Revision: 238477

URL: https://gcc.gnu.org/viewcvs?rev=238477&root=gcc&view=rev
Log:
Fix PR fortran/71688

2016-07-19  Martin Jambor  <mjambor@suse.cz>

        PR fortran/71688
        * trans-decl.c (gfc_generate_function_code): Use cgraph_get_create_node
        rather than cgraph_create_node to get a call graph node.

testsuite/
        * gfortran.dg/pr71688.f90: New test.



Added:
    branches/gcc-4_9-branch/gcc/testsuite/gfortran.dg/pr71688.f90
Modified:
    branches/gcc-4_9-branch/gcc/ChangeLog
    branches/gcc-4_9-branch/gcc/fortran/trans-decl.c
    branches/gcc-4_9-branch/gcc/testsuite/ChangeLog


More information about the Gcc-bugs mailing list