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
libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
torture
/
pr69771.c
blob
d03cbba668fbdff75d2f190ec1629ef4502b404c
1
/* PR rtl-optimization/69771 */
2
/* { dg-do compile } */
3
/* { dg-require-effective-target int32plus } */
4
5
unsigned char
a
=
5
,
c
;
6
unsigned short
b
=
0
;
7
unsigned
d
=
0x76543210
;
8
9
void
10
foo
(
void
)
11
{
12
c
=
d
>> ~(
a
|| ~
b
);
/* { dg-warning "shift count is negative" } */
13
}