Commit 181862d 1 parent e2aaa0d commit 181862d Copy full SHA for 181862d
File tree 1 file changed +8
-7
lines changed
1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change 583
583
type (__iterator), intent(in) :: first
584
584
type (__iterator), intent(in) :: last
585
585
586
- integer :: i, delta
586
+ integer :: i, d
587
587
588
- delta= last%currentindex-first%currentindex
588
+ d = last%currentindex-first%currentindex
589
589
do i=last%currentIndex, this%vsize
590
- associate(a => this %elements(i-delta),b =>this%elements(i))
591
- __TYPE_MOVE(__GET(a),__GET(b))
592
- end associate
590
+ ! Workaround for Intel 2021.1
591
+ ! Defect report has been submitted to Intel.
592
+ ! Indentation is critical here.
593
+ __TYPE_MOVE(__GET(this %elements(i-d)),__GET(this %elements(i)))
593
594
end do
594
- do i = this%vsize - delta + 1, last%currentIndex - 1
595
+ do i = this%vsize - d + 1, last%currentIndex - 1
595
596
__TYPE_FREE(__GET(this %elements(i)))
596
597
end do
597
- this%vsize=this%vsize-delta
598
+ this%vsize=this%vsize-d
598
599
599
600
return
600
601
end subroutine __PROC(erase_range)
You can’t perform that action at this time.
0 commit comments