https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95812
Bug ID: 95812
Summary: [10/11 Regression] ICE in gfc_dep_resolver since
r10-2114
Product: gcc
Version: 10.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: jakub at gcc dot gnu.org
Target Milestone: ---
Starting with r10-2114-g40e1ed26774b7b6c24d166489a715aa75843ab36 Fortran FE
ICEs with -O3 on:
module test
contains
subroutine foo()
integer :: a(3)
a = 1
print *, matmul(1*reshape(a,(/3,1/)), reshape((/1,1,1/),(/1,3/)))
end subroutine foo
subroutine bar()
call foo()
end subroutine bar
end module test