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++/71537] GCC rejects consetxpr boolean conversions and comparisons on the result of pointer arithmetic.


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.

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