http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50408
Francois-Xavier Coudert <fxcoudert at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |ice-on-valid-code Priority|P3 |P1 Last reconfirmed|2011-09-15 00:00:00 |2011-11-08 0:00 CC| |fxcoudert at gcc dot | |gnu.org Summary|ICE in transfer_expr |[4.6/4.7 regression] ICE in | |transfer_expr --- Comment #2 from Francois-Xavier Coudert <fxcoudert at gcc dot gnu.org> 2011-11-08 23:01:00 UTC --- This one is actually a 4.6 and 4.7 regression. It runs fine on 4.3, 4.4 and 4.5. Reduced testcase: module m type int integer :: val end type int contains type(int) function foo() foo%val = 42 end function foo end module m program p use m print *, foo() end program p