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
Be careful about comdat boundary in ICF (PR ipa/82352).
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
opt
/
fold3.C
blob
87a36b9ad493a25a5f689addd8777ec6fa5818a3
1
// PR middle-end/15069
2
// { dg-do run }
3
// { dg-options "-O2" }
4
5
extern "C" void abort (void);
6
7
typedef enum {
8
FOUR = 4,
9
FIVE = 5
10
} direction_t;
11
12
int main ()
13
{
14
direction_t four = FOUR;
15
int flags = (four & 4L) ? (32L | 128L) : 0;
16
flags &= 32L;
17
18
if (flags == 0)
19
abort ();
20
}
21