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

jakub@gcc.gnu.org jakub@gcc.gnu.org
Fri Jun 22 21:06:00 GMT 2018


Author: jakub
Date: Fri Jun 22 21:06:41 2018
New Revision: 261948

URL: https://gcc.gnu.org/viewcvs?rev=261948&root=gcc&view=rev
Log:
	Backported from mainline
	2018-04-05  Jakub Jelinek  <jakub@redhat.com>

	PR c++/85208
	* decl.c (start_decl): For DECL_DECOMPOSITION_P decls, don't call
	maybe_apply_pragma_weak here...
	(cp_maybe_mangle_decomp): ... but call it here instead.

	* g++.dg/cpp1z/decomp41.C: New test.

Added:
    branches/gcc-7-branch/gcc/testsuite/g++.dg/cpp1z/decomp41.C
Modified:
    branches/gcc-7-branch/gcc/cp/ChangeLog
    branches/gcc-7-branch/gcc/cp/decl.c
    branches/gcc-7-branch/gcc/testsuite/ChangeLog



More information about the Gcc-cvs mailing list