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

jakub@gcc.gnu.org jakub@gcc.gnu.org
Tue Jul 19 08:39:00 GMT 2016


Author: jakub
Date: Tue Jul 19 08:39:12 2016
New Revision: 238457

URL: https://gcc.gnu.org/viewcvs?rev=238457&root=gcc&view=rev
Log:
	Backported from mainline
	2016-07-07  Jakub Jelinek  <jakub@redhat.com>
		    Kai Tietz  <ktietz70@googlemail.com>

	PR c++/70869
	PR c++/71054
	* cp-gimplify.c (cp_genericize_r): For DECL_EXPR for non-static
	artificial vars, genericize their initializers.

	* g++.dg/cpp0x/pr70869.C: New test.
	* g++.dg/cpp0x/pr71054.C: New test.

Added:
    branches/gcc-6-branch/gcc/testsuite/g++.dg/cpp0x/pr70869.C
    branches/gcc-6-branch/gcc/testsuite/g++.dg/cpp0x/pr71054.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