This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/77764] ICE in is_anonymous_component, at fortran/interface.c:450


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

--- Comment #3 from foreese at gcc dot gnu.org ---
Author: foreese
Date: Fri Sep 30 11:42:31 2016
New Revision: 240652

URL: https://gcc.gnu.org/viewcvs?rev=240652&root=gcc&view=rev
Log:
2016-09-30  Fritz Reese  <fritzoreese@gmail.com>

Fix ICE for maps with zero components.

        PR fortran/77764
        * gcc/fortran/interface.c (gfc_compare_union_types): Null-guard map
        components.

        PR fortran/77764
        * gcc/testsuite/gfortran.dg/dec_union_8.f90: New testcase.


Added:
    trunk/gcc/testsuite/gfortran.dg/dec_union_8.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/interface.c
    trunk/gcc/testsuite/ChangeLog

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]