Message ID | d992124cf3f53543653d7a478378ff6e528b7f23.camel@t-online.de |
---|---|
State | New |
Headers | show |
Series | [SH,committed] Fix PR 80672 | expand |
Index: gcc/config/sh/sh.c =================================================================== --- gcc/config/sh/sh.c (revision 276235) +++ gcc/config/sh/sh.c (working copy) @@ -734,7 +734,7 @@ { if (tokens[i] == "strict") ret.strict = true; - else if (tokens[i].find ("gbr-offset=") == 0) + else if (!tokens[i].compare (0, strlen ("gbr-offset="), "gbr-offset=")) { std::string offset_str = tokens[i].substr (strlen ("gbr-offset=")); ret.tcb_gbr_offset = integral_argument (offset_str.c_str ());