This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug sanitizer/83014] ICE in pretty-print with -fsanitize=bounds


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]