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
* c-c++-common/ubsan/align-7.c: Skip for -flto -fno-fat-lto-objects.
[official-gcc.git]
/
gcc
/
testsuite
/
c-c++-common
/
ubsan
/
shift-3.c
blob
d57d73e62e8b63935f4efadb3f2b7d0bc838e6c7
1
/* { dg-do run } */
2
/* { dg-options "-fsanitize=shift -w -fno-sanitize-recover=shift" } */
3
4
int
5
main
(
void
)
6
{
7
unsigned int
a
=
1
;
8
a
<<=
31
;
9
a
<<=
1
;
10
return
0
;
11
}