[Bug tree-optimization/86259] [8/9 Regression] min(4, strlen(s)) optimized to strlen(s) with -flto

msebor at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Jun 21 14:56:00 GMT 2018


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86259

--- Comment #10 from Martin Sebor <msebor at gcc dot gnu.org> ---
(to complete the sentence from comment #9)

There is a separate question of whether strings (as in arguments to string
functions like strlen) extend to arbitrary sequences of bytes regardless of the
object type or whether they should be required to have a type of array of
character type.


More information about the Gcc-bugs mailing list