r249510 - in /branches/gcc-6-branch/gcc: cp/Cha...

jakub@gcc.gnu.org jakub@gcc.gnu.org
Thu Jun 22 11:13:00 GMT 2017


Author: jakub
Date: Thu Jun 22 11:13:29 2017
New Revision: 249510

URL: https://gcc.gnu.org/viewcvs?rev=249510&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-6-branch/gcc/testsuite/g++.dg/ubsan/pr80973.C
Modified:
    branches/gcc-6-branch/gcc/cp/ChangeLog
    branches/gcc-6-branch/gcc/cp/cp-gimplify.c
    branches/gcc-6-branch/gcc/testsuite/ChangeLog



More information about the Gcc-cvs mailing list