Source: gcc-8
Version: 8.2.0-12
Severity: normal
Tags: upstream
GCC crashing if try to compile this code:
void func(void)
{
const float var = 0;
(int)(var < 0 ? var : 0);
}
with command:
gcc -S -fsanitize=float-cast-overflow crash.c
Bug already fixed in upstream trunk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88426