blob: a3720879937eedaf36a75e6bc6d80454b18faa55 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
/* { dg-do compile } */
/* { dg-options "-O2 -fno-omit-frame-pointer" } */
int
#ifndef __x86_64__
__attribute__((regparm(3)))
#endif
foo (int i)
{
return i;
}
/* No need to use a frame pointer. */
/* { dg-final { scan-assembler-not "%\[re\]bp" } } */
|