https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80672
Bug ID: 80672 Summary: gcc/config/sh/sh.c:716: prefer compare to find. Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: dcb314 at hotmail dot com Target Milestone: --- trunk/gcc/config/sh/sh.c:716]: (performance) Inefficient usage of string::find() in condition; string::compare() would be faster. Source code is else if (tokens[i].find ("gbr-offset=") == 0)