1! { dg-do run } 2! tests the fix for PR39292, where the intitialization expression 3! did not simplify and caused an ICE in gfc_conv_array_initializer. 4! 5! Contributed by Richard Guenther <rguenth@gcc.gnu.org> 6! 7 integer :: n 8 real, dimension(2) :: a = (/ ( (float(n))**(1.0), n=1,2) /) 9 if (any (a .ne. (/ ( (float(n))**(1.0), n=1,2) /))) call abort 10end 11