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
2018-04-09 Richard Biener <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr50193-1.c
blob
6abc9c4057086d0c9dfb20b9de319395aa0c5825
1
/* PR 50193: ARM: ICE on a | (b << negative-constant) */
2
/* Ensure that the compiler doesn't ICE. */
3
4
/* { dg-options "-O2" } */
5
6
int
7
foo
(
int
a
,
int
b
)
8
{
9
return
a
| (
b
<< -
3
);
/* { dg-warning "left shift count is negative" } */
10
}