repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fix profile corruption with -O1 (PR gcov-profile/79259)
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
tree-prof
/
pr79259.C
blob
a55172b62d21ef23f8d1df3141865bf8f8473ad8
1
/* { dg-options "-O1" } */
2
3
inline bool
4
a (int b)
5
{
6
return (b & 5) != b;
7
}
8
int c;
9
int
10
fn2 ()
11
{
12
if (a (c == 0))
13
return 0;
14
}
15
16
int main()
17
{
18
fn2();
19
}
20