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
/
pr59503.c
blob
36356d532c8ebb56be865b52412513f7215fd516
1
/* { dg-do run } */
2
/* { dg-options "-fsanitize=signed-integer-overflow -fno-sanitize-recover=signed-integer-overflow" } */
3
4
int
5
main
(
void
)
6
{
7
long long int
a
=
14
;
8
long int
b
=
9
;
9
asm
volatile
(
""
:
"+r"
(
a
),
"+r"
(
b
));
10
if
((
a
-
b
) !=
5
)
11
__builtin_abort
();
12
return
0
;
13
}