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
PR tree-optimization/86415 - strlen() not folded for substrings within constant arrays
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
pr78229.C
blob
a52141b6b83cd2f61a8b2bc81e191d496471473f
1
/* { dg-do compile { target x86_64-*-* i?86-*-* } } */
2
/* { dg-options "-O2 -mbmi -w" } */
3
4
void a();
5
inline int b(int c) {
6
int d = c;
7
return __builtin_ia32_tzcnt_u32(d);
8
}
9
struct e {};
10
int f, g, h;
11
void fn3() {
12
float j;
13
&j;
14
{
15
e k;
16
while (h) {
17
if (g == 0)
18
continue;
19
int i = b(g);
20
f = i;
21
}
22
a();
23
}
24
}