[Bug fortran/80931] ICE on move_alloc in gimplify_expr, at gimplify.c:11335
snowfed at mail dot ru
gcc-bugzilla@gcc.gnu.org
Fri May 18 15:08:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80931
snowfed <snowfed at mail dot ru> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |snowfed at mail dot ru
--- Comment #3 from snowfed <snowfed at mail dot ru> ---
Just stumbled upon this bug as well.
Here is my minimal example (slightly smaller than Tiziano's).
module buggy
implicit none
type type_t
character(:), dimension(:), allocatable :: characters
contains
procedure :: mover
end type type_t
contains
subroutine mover (self)
implicit none
class(type_t), intent(in out) :: self
character(:), dimension(:), allocatable :: new
allocate(character(5) :: new(2018))
call move_alloc(new, self%characters)
end subroutine mover
end module buggy
More information about the Gcc-bugs
mailing list