! PR 32220, ICE when the loop is not unrolled enough to eliminate all ! register copies! { dg-do compile }! { dg-options "-O3" }subroutine derv(b,cosxy,thick)ccommon/shell4/xji(3,3)cdimension cosxy(6,*),1thick(*),b(*)cdo 125i=1,3b(k2+i)=xji(i,1)+xji(i,2)+xji(i,3) 125b(k3+i)=cosxy(i+3,kk)+cosxy(i,kk)ccreturnend