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 tree-optimization/83190] missing strlen optimization of the empty string


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

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Isn't the sizeof a, 4?
If so the call to strlen in g is undefined.

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