diff options
author | Jakub Jelinek <jakub@redhat.com> | 2019-02-20 08:57:41 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2019-02-20 08:57:41 +0100 |
commit | ea1c2a95bad9e11a1355f9ecd8f310f8eef1b718 (patch) | |
tree | f492f5dc3a6fe58777990e66d8a00c703c9ef7e3 /libstdc++-v3/src | |
parent | e86ae7bab3f01c7d35d36fc19c2a39a48d01b64c (diff) |
re PR libstdc++/89402 (warning: ‘void _ZNKSt4hashIeEclEe()’ specifies less restrictive attribute than its target)
PR libstdc++/89402
* src/c++98/compatibility-ldbl.cc (_ZNKSt4hashIeEclEe): Add
_GLIBCXX_PURE to the alias declaration.
From-SVN: r269034
Diffstat (limited to 'libstdc++-v3/src')
-rw-r--r-- | libstdc++-v3/src/c++98/compatibility-ldbl.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libstdc++-v3/src/c++98/compatibility-ldbl.cc b/libstdc++-v3/src/c++98/compatibility-ldbl.cc index 245a8c12873..e16b1207a2f 100644 --- a/libstdc++-v3/src/c++98/compatibility-ldbl.cc +++ b/libstdc++-v3/src/c++98/compatibility-ldbl.cc @@ -75,6 +75,6 @@ namespace std _GLIBCXX_VISIBILITY(default) // and std::hash<long double>::operator() // are the same, no need to duplicate them. extern "C" void _ZNKSt4hashIeEclEe (void) - __attribute__((alias ("_ZNKSt3tr14hashIeEclEe"))); + _GLIBCXX_PURE __attribute__((alias ("_ZNKSt3tr14hashIeEclEe"))); #endif |