public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug other/99933] New: gcc/brig/brigfrontend/brig-function.cc: 4 * possible performance problem ?
@ 2021-04-06 11:13 dcb314 at hotmail dot com
  2021-04-06 12:05 ` [Bug other/99933] " dcb314 at hotmail dot com
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: dcb314 at hotmail dot com @ 2021-04-06 11:13 UTC (permalink / raw)
  To: gcc-bugs

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.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-05-13 12:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-06 11:13 [Bug other/99933] New: gcc/brig/brigfrontend/brig-function.cc: 4 * possible performance problem ? dcb314 at hotmail dot com
2021-04-06 12:05 ` [Bug other/99933] " dcb314 at hotmail dot com
2021-04-06 13:51 ` marxin at gcc dot gnu.org
2021-05-13 12:17 ` marxin at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).