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

--- Comment #11 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Author: mpolacek
Date: Fri Mar 27 09:33:20 2015
New Revision: 221723

URL: https://gcc.gnu.org/viewcvs?rev=221723&root=gcc&view=rev
Log:
    PR sanitizer/65583
    * ubsan.c (ubsan_create_edge): New function.
    (instrument_bool_enum_load): Call it.
    (instrument_nonnull_arg): Likewise.
    (instrument_nonnull_return): Likewise.
    (instrument_object_size): Likewise.

    * g++.dg/ubsan/pr65583.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/ubsan/pr65583.C
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/ubsan.c

Reply via email to