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

* [Bug other/99933] gcc/brig/brigfrontend/brig-function.cc: 4 * possible performance problem ?
  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 ` 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
  2 siblings, 0 replies; 4+ messages in thread
From: dcb314 at hotmail dot com @ 2021-04-06 12:05 UTC (permalink / raw)
  To: gcc-bugs

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

David Binderman <dcb314 at hotmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pekka.jaaskelainen@parmance
                   |                            |.com

--- Comment #1 from David Binderman <dcb314 at hotmail dot com> ---
Adding original author for their opinion.

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

* [Bug other/99933] gcc/brig/brigfrontend/brig-function.cc: 4 * possible performance problem ?
  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
  2 siblings, 0 replies; 4+ messages in thread
From: marxin at gcc dot gnu.org @ 2021-04-06 13:51 UTC (permalink / raw)
  To: gcc-bugs

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

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2021-04-06
           Assignee|unassigned at gcc dot gnu.org      |marxin at gcc dot gnu.org
     Ever confirmed|0                           |1
                 CC|                            |marxin at gcc dot gnu.org
             Status|UNCONFIRMED                 |ASSIGNED

--- Comment #2 from Martin Liška <marxin at gcc dot gnu.org> ---
BRIG FE will be removed next month, not needed to be fixed.

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

* [Bug other/99933] gcc/brig/brigfrontend/brig-function.cc: 4 * possible performance problem ?
  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
  2 siblings, 0 replies; 4+ messages in thread
From: marxin at gcc dot gnu.org @ 2021-05-13 12:17 UTC (permalink / raw)
  To: gcc-bugs

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

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |WONTFIX
             Status|ASSIGNED                    |RESOLVED

--- Comment #3 from Martin Liška <marxin at gcc dot gnu.org> ---
HSA is gone.

^ 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).