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
* auto-profile.c (afdo_annotate_cfg): Use update_max_bb_count.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
opt
/
pr16693-2.C
blob
cb60df64264bf449567b838523f79a3fc35a1f4c
1
// PR middle-end/16693
2
// { dg-do run }
3
// { dg-options "-O2" }
4
5
extern "C" void abort();
6
7
char foo()
8
{
9
return 0x10;
10
}
11
12
enum E { e = 0x0f };
13
14
int main()
15
{
16
char c = (char)(E)(e & foo());
17
if (c != 0)
18
abort();
19
return 0;
20
}
21