[Bug fortran/77782] ICE in gfc_get_union_type, at fortran/trans-types.c:2387
foreese at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Sep 30 11:38:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77782
--- Comment #3 from foreese at gcc dot gnu.org ---
Author: foreese
Date: Fri Sep 30 11:37:23 2016
New Revision: 240651
URL: https://gcc.gnu.org/viewcvs?rev=240651&root=gcc&view=rev
Log:
2016-09-30 Fritz Reese <fritzoreese@gmail.com>
Fix ICE caused by union types comparing equal to structures.
PR fortran/77782
* gcc/fortran/interface.c (gfc_compare_derived_types): Use
gfc_compare_union_types to compare union types.
PR fortran/77782
* gcc/testsuite/gfortran.dg/dec_structure_16.f90: New testcase.
Added:
trunk/gcc/testsuite/gfortran.dg/dec_structure_16.f90
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/interface.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list