Mercurial > hg > CbC > CbC_gcc
diff gcc/cp/repo.c @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line diff
--- a/gcc/cp/repo.c Fri Oct 27 22:46:09 2017 +0900 +++ b/gcc/cp/repo.c Thu Oct 25 07:37:49 2018 +0900 @@ -1,5 +1,5 @@ /* Code to maintain a C++ template repository. - Copyright (C) 1995-2017 Free Software Foundation, Inc. + Copyright (C) 1995-2018 Free Software Foundation, Inc. Contributed by Jason Merrill (jason@cygnus.com) This file is part of GCC. @@ -330,8 +330,7 @@ /* For constructors and destructors, the repository contains information about the clones -- not the original function -- because only the clones are emitted in the object file. */ - if (DECL_MAYBE_IN_CHARGE_CONSTRUCTOR_P (decl) - || DECL_MAYBE_IN_CHARGE_DESTRUCTOR_P (decl)) + if (DECL_MAYBE_IN_CHARGE_CDTOR_P (decl)) { int emit_p = 0; tree clone;