This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/80064] [7 Regression] _Iter_cmp_iter instantiates bogus type
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 16 Mar 2017 11:09:33 +0000
- Subject: [Bug libstdc++/80064] [7 Regression] _Iter_cmp_iter instantiates bogus type
- Auto-submitted: auto-generated
- References: <bug-80064-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80064
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |ASSIGNED
Last reconfirmed| |2017-03-16
Resolution|INVALID |---
Ever confirmed|0 |1
--- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Re-opening because we can make it work fairly easily, by using the decayed type
instead of the original Compare type, i.e.
struct wrapper {
__decltype(comp) cmp;
} wrapped_comp = { comp };