2 ! { dg-options "-ffrontend-optimize" }
3 ! PR 56872 - wrong front-end optimization with a single constructor.
4 ! Original bug report by Rich Townsend.
10 res
= SUM([(s
**(REAL(k
-1)/REAL(m
-1)),k
=1,m
)])
11 if (abs(res
- 5.84732246) > 1e-6) STOP 1