https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83014

--- Comment #10 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri Dec 15 21:58:13 2017
New Revision: 255715

URL: https://gcc.gnu.org/viewcvs?rev=255715&root=gcc&view=rev
Log:
        Backported from mainline
        2017-11-24  Jakub Jelinek  <ja...@redhat.com>

        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:
    branches/gcc-7-branch/gcc/testsuite/gcc.dg/ubsan/pr83014.c
Modified:
    branches/gcc-7-branch/gcc/ChangeLog
    branches/gcc-7-branch/gcc/testsuite/ChangeLog
    branches/gcc-7-branch/gcc/ubsan.c

Reply via email to