This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/68434] [concepts] ICE: same canonical type node for different types


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]