1 /* { dg-options "-O2" } */
2 /* PR optimization/11536 */
3 /* Origin: samal@kam.mff.cuni.cz <samal@kam.mff.cuni.cz> */
4 /* Testcase by Andrew Pinski <pinskia@physics.uc.edu> */
6 /* Verify that the loop optimizer doesn't use moving targets
7 to calculate the number of iterations of a loop. */
9 extern void abort(void);
11 void foo(int) __attribute__((__noinline__
));