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

--- Comment #11 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Author: mpolacek
Date: Tue Apr 25 17:02:27 2017
New Revision: 247260

URL: https://gcc.gnu.org/viewcvs?rev=247260&root=gcc&view=rev
Log:
        PR sanitizer/80349
        * fold-const.c (fold_binary_loc) <case BIT_IOR_EXPR>: Convert arg0's
        first argument to type.

        * g++.dg/ubsan/pr80349-2.C: New test.

Added:
    branches/gcc-7-branch/gcc/testsuite/g++.dg/ubsan/pr80349-2.C
Modified:
    branches/gcc-7-branch/gcc/ChangeLog
    branches/gcc-7-branch/gcc/fold-const.c
    branches/gcc-7-branch/gcc/testsuite/ChangeLog

Reply via email to