[Bug target/80672] gcc/config/sh/sh.c:716: prefer compare to find.

olegendo at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Sep 28 08:40:00 GMT 2019


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

--- Comment #7 from Oleg Endo <olegendo at gcc dot gnu.org> ---
Author: olegendo
Date: Sat Sep 28 08:39:40 2019
New Revision: 276242

URL: https://gcc.gnu.org/viewcvs?rev=276242&root=gcc&view=rev
Log:
gcc/
2019-09-28  Oleg Endo  <olegendo@gcc.gnu.org>

        Backport from mainline
        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.


Modified:
    branches/gcc-8-branch/gcc/ChangeLog
    branches/gcc-8-branch/gcc/config/sh/sh.c


More information about the Gcc-bugs mailing list