aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/pr81644.c
blob: 61f94a409ffc651c811a0ef39ce56203daac4f36 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* PR target/81644 */
/* { dg-do compile } */
/* { dg-options "-O2" } */
/* { dg-additional-options "-mregparm=1" { target ia32 } } */

void b (void);

void
__attribute__ ((naked))
a (int z)
{
  if (z)
    return;
  b ();
}