https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86524
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-07-16 Component|libstdc++ |c++ Ever confirmed|0 |1 --- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> --- Right, the problem is how the C++ front-end evaluates it. It takes different code paths when compiling templates and non-templates. The new implementation of std::less might have made the problem apparent, but it's still a problem in the front-end.