diff options
author | Patrick Palka <ppalka@gcc.gnu.org> | 2016-06-03 20:42:08 +0000 |
---|---|---|
committer | Patrick Palka <ppalka@gcc.gnu.org> | 2016-06-03 20:42:08 +0000 |
commit | c8572dd688e71e4e8376b270aed5d4f6217d9b54 (patch) | |
tree | 512c9c2ecc0a93b425170e5c085e92c022006d59 /libcpp | |
parent | 1c7733a760d7000a9c947d13b8c515d249c74fc8 (diff) | |
download | gcc-c8572dd688e71e4e8376b270aed5d4f6217d9b54.tar.gz |
re PR c++/27100 (ICE with multiple friend declarations)
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.
From-SVN: r237078
Diffstat (limited to 'libcpp')
0 files changed, 0 insertions, 0 deletions