This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/68434] [concepts] ICE: same canonical type node for different types
- From: "Casey at Carter dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 29 Nov 2015 04:03:45 +0000
- Subject: [Bug c++/68434] [concepts] ICE: same canonical type node for different types
- Auto-submitted: auto-generated
- References: <bug-68434-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68434
Casey Carter <Casey at Carter dot net> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |Casey at Carter dot net
--- Comment #4 from Casey Carter <Casey at Carter dot net> ---
> I hit the issue today when compiling the cmcstl2 lib.
If you want to see ICEs from deduction constraints, change the "#if 0" to 1 on
line 83 of include/stl2/detail/fwd.hpp so that the STL2_DEDUCTION_CONSTRAINT
macro emits actual deduction constraint syntax instead of "requires
Concept<decltype(expression), ...>". I've had to avoid deduction constraints
completely to get compiling code.
I'm not complaining - C++11/14 bugs *should* take priority over [concepts] -
but I would be willing to buy beer for whomever fixes the deduction constraint
bugs so that I could stop using the preprocessor.