r275089 - in /branches/gcc-7-branch/gcc: cp/Cha...

jakub@gcc.gnu.org jakub@gcc.gnu.org
Fri Aug 30 11:29:00 GMT 2019


Author: jakub
Date: Fri Aug 30 11:29:04 2019
New Revision: 275089

URL: https://gcc.gnu.org/viewcvs?rev=275089&root=gcc&view=rev
Log:
	Backported from mainline
	2019-01-21  Jakub Jelinek  <jakub@redhat.com>

	PR c++/88949
	* optimize.c (cxx_copy_decl): New function.
	(clone_body): Use it instead of copy_decl_no_change.

	* g++.dg/gomp/pr88949.C: New test.

Added:
    branches/gcc-7-branch/gcc/testsuite/g++.dg/gomp/pr88949.C
Modified:
    branches/gcc-7-branch/gcc/cp/ChangeLog
    branches/gcc-7-branch/gcc/cp/optimize.c
    branches/gcc-7-branch/gcc/testsuite/ChangeLog



More information about the Gcc-cvs mailing list