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

--- Comment #16 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri May  5 21:55:29 2017
New Revision: 247702

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

        PR sanitizer/80349
        * fold-const.c (fold_binary_loc) <case BIT_IOR_EXPR>: Convert arg0's
        first argument to type.

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

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

Reply via email to