[Bug sanitizer/83014] ICE in pretty-print with -fsanitize=bounds
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Nov 24 08:35:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83014
--- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri Nov 24 08:35:10 2017
New Revision: 255134
URL: https://gcc.gnu.org/viewcvs?rev=255134&root=gcc&view=rev
Log:
PR sanitizer/83014
* ubsan.c (ubsan_type_descriptor): Use pp_unsigned_wide_integer
instead of pp_printf with HOST_WIDE_INT_PRINT_DEC. Avoid calling
tree_to_uhwi twice.
* gcc.dg/ubsan/pr83014.c: New test.
Added:
trunk/gcc/testsuite/gcc.dg/ubsan/pr83014.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/testsuite/ChangeLog
trunk/gcc/ubsan.c
More information about the Gcc-bugs
mailing list