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
/
save-expr-2.c
blob
14ac17def9ce962f8ed2daa5936b7ad08e64b434
1
/* { dg-do compile } */
2
/* { dg-options "-fsanitize=shift -Wall -Werror -O" } */
3
4
int
5
foo
(
int
i
,
unsigned int
u
)
6
{
7
return
u
/
i
;
8
}
9
10
int
11
bar
(
int
i
,
unsigned int
u
)
12
{
13
return
u
%
i
;
14
}