[PR c++/85008] ICE looking for clone
authorNathan Sidwell <nathan@acm.org>
Wed, 21 Mar 2018 19:22:10 +0000 (19:22 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Wed, 21 Mar 2018 19:22:10 +0000 (19:22 +0000)
commitb2595987bd320849de932cd2bcf83d2faf5f3ee8
tree22f1f807e3d826f01e47fac68a07a0a4ae958428
parent983d49ddd14395075e2169bba158a5bb8193d29e
[PR c++/85008] ICE looking for clone

https://gcc.gnu.org/ml/gcc-patches/2018-03/msg01129.html
PR c++/85008
* tree.c (decl_linkage): Use DECL_CLONED_FUNCTION_P.
* decl2.c (vague_linkage_p): Likewise.

PR c++/85008
* g++.dg/pr85008.C: New.

From-SVN: r258738
gcc/cp/ChangeLog
gcc/cp/decl2.c
gcc/cp/tree.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/pr85008.C [new file with mode: 0644]