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