This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/78420] [5/6/7 Regression] std::less<T*> is not a total order with -O2 enabled
- 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: Mon, 23 Jan 2017 23:18:42 +0000
- Subject: [Bug libstdc++/78420] [5/6/7 Regression] std::less<T*> is not a total order with -O2 enabled
- Auto-submitted: auto-generated
- References: <bug-78420-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78420
--- Comment #19 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Jens Maurer from comment #16)
> That means the standard library needs to do its homework to clearly specify
> under which circumstances (which argument types) it expects a constexpr
> function to be valid in a constant expression.
That's LWG 2833.