This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/54917] [4.7/4.8 Regression] [OOP] TRANSFER on polymorphic variable causes ICE


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54917

--- Comment #5 from janus at gcc dot gnu.org 2012-10-13 10:05:13 UTC ---
However, the other ICE (which does not require -Wsurprising) appears with all
gfortran versions I tried from 4.5 to trunk:


subroutine test_routine2(arg)
  implicit none
  type test_type
    integer :: test_comp
  end type test_type
  class(test_type) :: arg
  class(test_type), allocatable :: copy
  copy = transfer(1,arg)
end subroutine


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]