[Bug fortran/71862] ICE in gfc_add_component_ref, at fortran/class.c:241

2016-07-13 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71862 kargl at gcc dot gnu.org changed: What|Removed |Added CC||kargl at gcc dot gnu.org --- C

[Bug fortran/71862] ICE in gfc_add_component_ref, at fortran/class.c:241

2016-07-13 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71862 --- Comment #2 from kargl at gcc dot gnu.org --- (In reply to Gerhard Steinmetz from comment #0) > Release versions (5, 6, 7) are bailed out, with no backtrace. > Experimental versions (6, 7 tested) give a backtrace. > > > $ cat z1.f90 > program

[Bug fortran/71862] ICE in gfc_add_component_ref, at fortran/class.c:241

2016-07-13 Thread gerhard.steinmetz.fort...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71862 --- Comment #1 from Gerhard Steinmetz --- Works when "class" is changed to "type" ... $ cat z2.f90 program p type t integer :: n = 0 integer, pointer :: q => null() end type type(t) :: x print *, associated(x%q) x =