re PR target/80672 (gcc/config/sh/sh.c:716: prefer compare to find.)
authorOleg Endo <olegendo@gcc.gnu.org>
Sat, 28 Sep 2019 08:33:31 +0000 (08:33 +0000)
committerOleg Endo <olegendo@gcc.gnu.org>
Sat, 28 Sep 2019 08:33:31 +0000 (08:33 +0000)
commit2664bcb87601c9f77c61dea1583166c9dbb135a3
tree43b4b68344d9f393d448ad1e7dce63e6921868c9
parentb164999002575eaca7f032c2374d2a04531be72f
re PR target/80672 (gcc/config/sh/sh.c:716: prefer compare to find.)

gcc/
2019-09-28  Oleg Endo  <olegendo@gcc.gnu.org>

PR target/80672
* config/sh/sh.c (parse_validate_atomic_model_option): Use
std::string::compare instead of std::string::find.

From-SVN: r276240
gcc/ChangeLog
gcc/config/sh/sh.c