r270744 - in /branches/gcc-8-branch/gcc: cp/Cha...
jakub@gcc.gnu.org
jakub@gcc.gnu.org
Tue Apr 30 20:56:00 GMT 2019
Author: jakub
Date: Tue Apr 30 20:56:40 2019
New Revision: 270744
URL: https://gcc.gnu.org/viewcvs?rev=270744&root=gcc&view=rev
Log:
Backported from mainline
2019-03-29 Jakub Jelinek <jakub@redhat.com>
PR sanitizer/89869
* typeck.c: Include gimplify.h.
(cp_build_modify_expr) <case COND_EXPR>: Unshare rhs before using it
for second time. Formatting fixes.
* g++.dg/ubsan/vptr-14.C: New test.
Added:
branches/gcc-8-branch/gcc/testsuite/g++.dg/ubsan/vptr-14.C
Modified:
branches/gcc-8-branch/gcc/cp/ChangeLog
branches/gcc-8-branch/gcc/cp/typeck.c
branches/gcc-8-branch/gcc/testsuite/ChangeLog
More information about the Gcc-cvs
mailing list