This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/71537] GCC rejects consetxpr boolean conversions and comparisons on the result of pointer arithmetic.
- 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: Sat, 03 Dec 2016 13:42:49 +0000
- Subject: [Bug c++/71537] GCC rejects consetxpr boolean conversions and comparisons on the result of pointer arithmetic.
- Auto-submitted: auto-generated
- References: <bug-71537-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71537
--- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> ---
N.B. for char_traits::char::find() we almost certainly want to use
__builtin_strchr and have the FE expand it in-place in constant expressions, as
the performance of our current code sucks, see PR 66414.