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