https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99933
Bug ID: 99933 Summary: gcc/brig/brigfrontend/brig-function.cc: 4 * possible performance problem ? Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: other Assignee: unassigned at gcc dot gnu.org Reporter: dcb314 at hotmail dot com Target Milestone: --- Static analyser cppcheck finds the following: trunk.git/gcc/brig/brigfrontend/brig-function.cc:1063:11: performance: Passing the result of c_str() to a function that takes std::string as argument no. 1 is slow and redundant. [stlcstrParam] trunk.git/gcc/brig/brigfrontend/brig-function.cc:1091:11: performance: Passing the result of c_str() to a function that takes std::string as argument no. 1 is slow and redundant. [stlcstrParam] trunk.git/gcc/brig/brigfrontend/brig-function.cc:1108:11: performance: Passing the result of c_str() to a function that takes std::string as argument no. 1 is slow and redundant. [stlcstrParam] trunk.git/gcc/brig/brigfrontend/brig-function.cc:1126:11: performance: Passing the result of c_str() to a function that takes std::string as argument no. 1 is slow and redundant. [stlcstrParam] In the component field of the web page, there doesn't seem to be an entry for brig.