[Bug c++/27100] ICE with multiple friend declarations
ppalka at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Jun 3 20:42:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=27100
--- Comment #8 from Patrick Palka <ppalka at gcc dot gnu.org> ---
Author: ppalka
Date: Fri Jun 3 20:42:08 2016
New Revision: 237078
URL: https://gcc.gnu.org/viewcvs?rev=237078&root=gcc&view=rev
Log:
Fix PR c++/27100
gcc/cp/ChangeLog:
PR c++/27100
* decl.c (duplicate_decls): Properly copy the
DECL_PENDING_INLINE_P, DECL_PENDING_INLINE_INFO and
DECL_SAVED_FUNCTION_DATA fields from OLDDECL to NEWDECL.
gcc/testsuite/ChangeLog:
PR c++/27100
* g++.dg/other/friend6.C: New test.
Added:
trunk/gcc/testsuite/g++.dg/other/friend6.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/decl.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list