diff options
author | jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-03-15 21:22:38 +0000 |
---|---|---|
committer | jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-03-15 21:22:38 +0000 |
commit | b4f6d117da53188bb7f540d3d8933662b580227c (patch) | |
tree | 46ff5482e597a1da8507c2252ca4739cd023af48 /gcc/cp/method.c | |
parent | f5fdea8087307a3315215cfad6c21412630039ec (diff) | |
download | gcc-b4f6d117da53188bb7f540d3d8933662b580227c.tar.gz |
PR c++/52582
* method.c (implicitly_declare_fn): Set DECL_EXTERNAL.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185443 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp/method.c')
-rw-r--r-- | gcc/cp/method.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/cp/method.c b/gcc/cp/method.c index 07189168d1f..0d4793eb23b 100644 --- a/gcc/cp/method.c +++ b/gcc/cp/method.c @@ -1593,6 +1593,7 @@ implicitly_declare_fn (special_function_kind kind, tree type, bool const_p) DECL_DELETED_FN (fn) = deleted_p; DECL_DECLARED_CONSTEXPR_P (fn) = constexpr_p; } + DECL_EXTERNAL (fn) = true; DECL_NOT_REALLY_EXTERN (fn) = 1; DECL_DECLARED_INLINE_P (fn) = 1; gcc_assert (!TREE_USED (fn)); |