Sign in
gnu
/
gcc
/
a6d3012b274f38b20e2a57162106f625746af6c6
/
.
/
gcc
/
testsuite
/
c-c++-common
/
ubsan
/
overflow-2.c
blob: aeca04d341d9b8ed2b8492ec354ca9f7223229d5 [
file
] [
log
] [
blame
]
/* { dg-do run } */
/* { dg-options "-fsanitize=signed-integer-overflow" } */
#define
ASM1
(
a
)
asm
volatile
(
""
:
"+g"
(
a
))
#define
ASM2
(
a
,
b
)
asm
volatile
(
""
:
"+g"
(
a
),
"+g"
(
b
))
#include
"overflow-1.c"