https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70705
Bug ID: 70705
Summary: Associate construct with array section causes ICE
Product: gcc
Version: 5.3.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: townsend at astro dot wisc.edu
Target Milestone: ---
Created attachment 38298
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38298&action=edit
Example program
In the example program attached, compilation (gfortran -o ice ice.f90) causes
the following ICE:
ice.f90:16:0:
x = 0.
1
internal compiler error: in gfc_get_element_type, at fortran/trans-types.c:1201
ice.f90:16:0: internal compiler error: Abort trap: 6
gfortran.exec: internal compiler error: Abort trap: 6 (program f951)
cheers,
Rich