2 ! { dg-options "-ffrontend-optimize" }
3 ! PR 69742 - this used to ICE with front-end optimizatoin
4 ! Original test case by Marco Restelli.
7 integer, allocatable
:: i(:), j
12 ! The ICE appears when "size(i)" is used twice in associate
13 associate( i5
=> i(size(i
):size(i
)) ) ! this gives ICE
14 !associate( i5 => i(size(2*i):size(i)) ) ! this works