Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: polajnar.miha at gmail dot com
Created attachment 34209
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34209&action=edit
Source code describing the bug
The attached sour
Assignee: unassigned at gcc dot gnu.org
Reporter: polajnar.miha at gmail dot com
Target Milestone: ---
The following program produces an ICE
program main
implicit none
class(*), allocatable :: vec(:)
integer :: var
allocate(vec(2),mold=var)
print*, size(transfer(vec,[var
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: polajnar.miha at gmail dot com
Target Milestone: ---
The code in the attachment produces an ICE with
$ gfortran bug.f90 -fopenmp -O0
bug.f90:24:0:
do p = 1, n
^
internal compiler error: in make_decl_rtl, at
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66680
--- Comment #1 from Miha Polajnar ---
Created attachment 35856
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35856&action=edit
Source code for the described bug.