This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Bug libstdc++/71640] [7 Regression] include/c++/7.0.0/bits/hashtable.h:293:7: error: too many template parameters in template redeclaration
- From: FranÃois Dumont <frs dot dumont at gmail dot com>
- To: "libstdc++ at gcc dot gnu dot org" <libstdc++ at gcc dot gnu dot org>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 27 Jun 2016 22:45:04 +0200
- Subject: Re: [Bug libstdc++/71640] [7 Regression] include/c++/7.0.0/bits/hashtable.h:293:7: error: too many template parameters in template redeclaration
- Authentication-results: sourceware.org; auth=none
- References: <bug-71640-19885 at http dot gcc dot gnu dot org/bugzilla/> <bug-71640-19885-gRbZtLQDvG at http dot gcc dot gnu dot org/bugzilla/>
Trivial attached patch applied to fix this regression. I am surprised
that gcc had not detected it.
2016-06-27 FranÃois Dumont <fdumont@gcc.gnu.org>
PR libstdc++/71640
* include/bits/hashtable.h: Remove _Unique_keya parameter in _Insert
friend declaration.
On 26/06/2016 18:21, pinskia at gcc dot gnu.org wrote:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71640
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |7.0
Index: include/bits/hashtable.h
===================================================================
--- include/bits/hashtable.h (revision 237802)
+++ include/bits/hashtable.h (working copy)
@@ -294,7 +294,7 @@
typename _ExtractKeya, typename _Equala,
typename _H1a, typename _H2a, typename _Hasha,
typename _RehashPolicya, typename _Traitsa,
- bool _Constant_iteratorsa, bool _Unique_keysa>
+ bool _Constant_iteratorsa>
friend struct __detail::_Insert;
public: