c-convert.c
5.6 KB
-
re PR sanitizer/64289 (ICE with -fsanitize=float-cast-overflow) · 8f94a8c4
PR sanitizer/64289 * c-convert.c: Include ubsan.h. (convert): For real -> integral casts and -fsanitize=float-cast-overflow don't call convert_to_integer, but instead instrument the float cast directly. * c-c++-common/ubsan/pr64289.c: New test. From-SVN: r218811
Jakub Jelinek committed