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
Require target lra in gcc.dg/pr108095.c
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr97979.c
blob
44aaff2ab5aa2cb6cf8b188ae8c50cc061f874fe
1
/* PR tree-optimization/97979 */
2
/* { dg-do compile } */
3
/* { dg-options "-O2 -fno-tree-ccp" } */
4
5
short
a
=
0
;
6
int
b
=
0
;
7
8
void
9
foo
(
void
)
10
{
11
unsigned short
d
=
b
;
12
a
=
d
>> -
2U
;
/* { dg-warning "right shift count >= width of type" } */
13
}