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

foreese at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |foreese at gcc dot gnu.org
         Resolution|---                         |FIXED
           Assignee|unassigned at gcc dot gnu.org      |foreese at gcc dot 
gnu.org

--- Comment #3 from foreese at gcc dot gnu.org ---
> https://gcc.gnu.org/ml/fortran/2016-10/msg00008.html

This is fixed as of r240810.

2016-10-05  Fritz Reese  <fritzore...@gmail.com>

Fix ICE due to comparison between UNION components.

        gcc/fortran/
        * interface.c (gfc_compare_types): Don't compare BT_UNION components
        until we know they're both UNIONs.
        * interface.c (gfc_compare_union_types): Guard against empty
        components.

        gcc/testsuite/gfortran.dg/
        * dec_union_9.f90: New testcase.
        * dec_union_10.f90: New testcase.

Reply via email to