r249479 - in /branches/gcc-7-branch/gcc: cp/Cha...
jakub@gcc.gnu.org
jakub@gcc.gnu.org
Wed Jun 21 22:16:00 GMT 2017
Author: jakub
Date: Wed Jun 21 22:15:55 2017
New Revision: 249479
URL: https://gcc.gnu.org/viewcvs?rev=249479&root=gcc&view=rev
Log:
Backported from mainline
2017-06-13 Jakub Jelinek <jakub@redhat.com>
PR c++/80973
* cp-gimplify.c (cp_genericize_r): Don't instrument MEM_REF second
argument even if it has REFERENCE_TYPE.
* g++.dg/ubsan/pr80973.C: New test.
Added:
branches/gcc-7-branch/gcc/testsuite/g++.dg/ubsan/pr80973.C
Modified:
branches/gcc-7-branch/gcc/cp/ChangeLog
branches/gcc-7-branch/gcc/cp/cp-gimplify.c
branches/gcc-7-branch/gcc/testsuite/ChangeLog
More information about the Gcc-cvs
mailing list