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
Warn pointer to signed integer cast for ilp32
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr17036-1.c
blob
ea2c9caf6f93afe3a7dc50296f638dc0e37cfe7a
1
/* { dg-do compile } */
2
3
int
main
()
4
{
5
int
R
,
N
=
4
;
6
unsigned int
A
=
2
;
7
signed int
B
=
2
;
8
((
B
>>
N
) &
1
) ?
1
:
0
;
9
((
A
>>
N
) &
1
) ?
1
:
0
;
10
return
0
;
11
}