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

--- Comment #16 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Author: mpolacek
Date: Tue Aug 11 15:46:56 2015
New Revision: 226782

URL: https://gcc.gnu.org/viewcvs?rev=226782&root=gcc&view=rev
Log:
        PR sanitizer/66908
        * c-ubsan.c: Include gimplify.h.
        (ubsan_instrument_division): Unshare OP0 and OP1.
        (ubsan_instrument_shift): Likewise.

        * c-c++-common/ubsan/pr66908.c: New test.

Added:
    branches/gcc-5-branch/gcc/testsuite/c-c++-common/ubsan/pr66908.c
Modified:
    branches/gcc-5-branch/gcc/c-family/ChangeLog
    branches/gcc-5-branch/gcc/c-family/c-ubsan.c
    branches/gcc-5-branch/gcc/testsuite/ChangeLog

Reply via email to