https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64507
Bug ID: 64507 Summary: SH inlined builtin strncmp doesn't return 0 for 0 length Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: chrbr at gcc dot gnu.org Created attachment 34386 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34386&action=edit test case Thought the check was emitted from the builtin generic prologue like for the constant lengths. which was not :-(