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
* ubsan.c (ubsan_expand_null_ifn): Use _v1 suffixed type mismatch
[official-gcc.git]
/
gcc
/
testsuite
/
c-c++-common
/
ubsan
/
pr80932.c
blob
92903f7e0ee4c5577d33e54282f9a1429aea8090
1
/* PR sanitizer/80932 */
2
/* { dg-do run } */
3
/* { dg-options "-fsanitize=undefined -fsanitize-undefined-trap-on-error" } */
4
5
int
x
=
1
;
6
7
int
8
foo
(
void
)
9
{
10
return
((
int
) (
2855545792U
*
x
) - (
int
) (
3269399503U
*
x
)) * -
5
;
11
}
12
13
int
14
main
()
15
{
16
foo
();
17
}