aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr79342.c
blob: 958de55d09b36371aa01a7460448d0db6ceaea89 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* { dg-do compile } */
/* { dg-options "-O2 -gsplit-dwarf -g3" } */
/* { dg-additional-options "-march=skylake -mrtm -mabm" { target x86_64-*-* i?86-*-* } } */

int a;
void b(void);

void e(int *);
int f(void);

void 
c(void)
{
  int d;
  e(&d);
  if (f())
    b();
}