aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/powerpc/pr93800.c
blob: 6b0dc76e0f221db9c6a2d56d0cb4e326db95ba32 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* { dg-do compile } */
/* { dg-options "-mdejagnu-cpu=860 -O2" } */
/* { dg-require-effective-target ilp32 } */
/* { dg-final { scan-assembler-not "\\.p2align 4" } } */

volatile int g;
int f(int a, int b)
{
	int i;

	for (i = 0; i < b; i++)
		a += g;
	return a;
}