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

--- Comment #3 from Martin Liška <marxin at gcc dot gnu.org> ---
Author: marxin
Date: Tue Apr 11 13:08:08 2017
New Revision: 246837

URL: https://gcc.gnu.org/viewcvs?rev=246837&root=gcc&view=rev
Log:
Do not instrument register variables in object-size sanitizer (PR
sanitizer/70878).

2017-04-11  Martin Liska  <mli...@suse.cz>

        PR sanitizer/70878
        * ubsan.c (instrument_object_size): Do not instrument register
        variables.
2017-04-11  Martin Liska  <mli...@suse.cz>

        PR sanitizer/70878
        * gcc.dg/ubsan/pr70878.c: New test.

Added:
    trunk/gcc/testsuite/gcc.dg/ubsan/pr70878.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/ubsan.c

Reply via email to