summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/tree-prof/pr79259.C
blob: 6125a179bdc7c48c69dd85a2e6253ae90aca03ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/* { dg-options "-O1" } */

inline bool
a (int b)
{
  return (b & 5) != b;
}
int c;
int
fn2 ()
{
  if (a (c == 0))
    return 0;

  return 0;
}

int main()
{
  fn2();
}