Debian Codegraph @

gcc/testsuite/c-c++-common/ubsan/pr58443-1.c

raw
1 /* PR sanitizer/58443 */
2 /* { dg-do compile } */
3 /* { dg-options "-fsanitize=shift,unreachable -w" } */
4
5 int
6 foo (int u, int o)
7 {
8 return u / o;
9 }
10
11 /* { dg-final { scan-assembler-not "__ubsan_handle_divrem_overflow" } } */