http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47745
janus at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |ice-on-invalid-code
--- Comment #4 from janus at gcc dot gnu.org 2011-02-15 10:26:40 UTC ---
However, the ICE itself seems unrelated to the CLASS(*) error. It still happens
with the following reduction:
type, abstract :: T
end type T
contains
class(T) function add()
add = 1
end function
end
class(T) function add()
1
Error: CLASS variable 'add' at (1) must be dummy, allocatable or pointer
f951: internal compiler error: Segmentation fault
It is correctly rejected, but then one gets an ICE (triggered by the
assignment).