]>
gcc.gnu.org Git - gcc.git/blob - gcc/testsuite/c-c++-common/ubsan/overflow-add-4.c
2 /* { dg-options "-fsanitize=signed-integer-overflow -Wno-unused-variable -fsanitize-trap=undefined" } */
3 /* { dg-shouldfail "ubsan" } */
5 #define INT_MAX __INT_MAX__
6 #define INT_MIN (-__INT_MAX__ - 1)
11 volatile int j
= INT_MAX
;
13 volatile int k
= j
+ i
;
This page took 0.036023 seconds and 5 git commands to generate.