[Bug fortran/77783] ICE in gfc_compare_union_types, at fortran/interface.c:545
foreese at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Oct 27 11:37:00 GMT 2016
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 <fritzoreese@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.
More information about the Gcc-bugs
mailing list