Debian Codegraph @

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

raw
1 /* PR sanitizer/64344 */
2 /* { dg-do compile } */
3 /* { dg-options "-fsanitize=float-cast-overflow" } */
4
5 int
6 foo (float x)
7 {
8 return __builtin_log ((double ) x);
9 }