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 middle-end/77357 - strlen of constant strings not folded
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
pr29797-1.c
blob
40758c1d583cd31faaf439f1d998b3abb155f86f
1
/* { dg-require-effective-target int32plus } */
2
extern
void
abort
(
void
);
3
4
unsigned int
bar
(
void
) {
return
32768
; }
5
6
int
main
()
7
{
8
unsigned int
nStyle
=
bar
();
9
if
(
nStyle
&
32768
)
10
nStyle
|=
65536
;
11
if
(
nStyle
!= (
32768
|
65536
))
12
abort
();
13
return
0
;
14
}
15