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++ PATCH] Deprecate -ffriend-injection
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
ubsan
/
pr80386.C
blob
60122da3c195911bd134bdba9f56ab4564661baf
1
// PR sanitizer/80386
2
// { dg-do run }
3
// { dg-options "-fsanitize=undefined -fno-sanitize-recover" }
4
5
static unsigned long long int i = 13996271126042720493ULL;
6
7
int
8
main ()
9
{
10
int r = (((2921 + 0) - short(i)) + 0x7fffffff) >> 0;
11
asm volatile ("" : "+g" (r));
12
return 0;
13
}