blob: e43cbd6bc1cab26c23d8258cdaca80552bceab94 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
/* PR target/40838 */
/* { dg-do compile { target { { ! *-*-darwin* } && ilp32 } } } */
/* { dg-options "-w -mstackrealign -O3 -mno-sse -mpreferred-stack-boundary=4" } */
float
foo (float f)
{
float array[128];
float x;
int i;
for (i = 0; i < sizeof(array) / sizeof(*array); i++)
array[i] = f;
for (i = 0; i < sizeof(array) / sizeof(*array); i++)
x += array[i];
return x;
}
/* { dg-final { scan-assembler-not "andl\[\\t \]*\\$-16,\[\\t \]*%esp" } } */
|