[Bug c/94669] libcc1: 4 * minor performance problem

2022-01-05 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94669

Jonathan Wakely  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|UNCONFIRMED |RESOLVED
   Target Milestone|--- |12.0

--- Comment #9 from Jonathan Wakely  ---
I don't think this needs to be backported, so it can just be closed as fixed
for GCC 12.

[Bug c/94669] libcc1: 4 * minor performance problem

2022-01-05 Thread tromey at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94669

--- Comment #8 from Tom Tromey  ---
(In reply to David Binderman from comment #7)
> Could this bug be marked as fixed, then ?

Yes, but I don't really know the GCC rules about closing reports
any more, so someone else probably ought to handle it.

[Bug c/94669] libcc1: 4 * minor performance problem

2022-01-05 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94669

--- Comment #7 from David Binderman  ---
Could this bug be marked as fixed, then ?

[Bug c/94669] libcc1: 4 * minor performance problem

2021-05-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94669

--- Comment #6 from CVS Commits  ---
The master branch has been updated by Tom Tromey :

https://gcc.gnu.org/g:96deddca2e535d09db1d244a96a1efc20e24b673

commit r12-473-g96deddca2e535d09db1d244a96a1efc20e24b673
Author: Tom Tromey 
Date:   Tue May 4 15:26:58 2021 -0600

libcc1: avoid extra string copies

PR c/94669 points out that a couple of spots in libcc1 take a
std::string where a reference would do.  This changes these spots to
take a const char *, to reduce the number of copies.

libcc1

PR c/94669
* compiler.hh (compiler_driver_filename): Take const char *.
(compiler_triplet_regexp): Likewise.

[Bug c/94669] libcc1: 4 * minor performance problem

2021-01-22 Thread tromey at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94669

Tom Tromey  changed:

   What|Removed |Added

 CC||tromey at gcc dot gnu.org
   Assignee|unassigned at gcc dot gnu.org  |tromey at gcc dot 
gnu.org

--- Comment #5 from Tom Tromey  ---
I have a patch for these.

[Bug c/94669] libcc1: 4 * minor performance problem

2020-04-21 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94669

Eric Gallager  changed:

   What|Removed |Added

 Blocks||89863
   See Also|https://gcc.gnu.org/bugzill |
   |a/show_bug.cgi?id=89863 |
 CC||egallager at gcc dot gnu.org

--- Comment #4 from Eric Gallager  ---
moving the cppcheck meta-bug from the "See Also" field to the "Blocks" field


Referenced Bugs:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89863
[Bug 89863] [meta-bug] Issues in gcc that other static analyzers (cppcheck,
clang-static-analyzer, PVS-studio) find that gcc misses

[Bug c/94669] libcc1: 4 * minor performance problem

2020-04-20 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94669

--- Comment #3 from David Binderman  ---
(In reply to Jan Kratochvil from comment #2)
> These fixes are very simple, maybe you can check it in as obvious?

Sorry no, I have no checkin permission.

> BTW the file was written by Alexandre Oliva, I wrote no single line there.

git blame seems to think you wrote it. Maybe it is in error.

[Bug c/94669] libcc1: 4 * minor performance problem

2020-04-20 Thread jan.kratochvil at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94669

Jan Kratochvil  changed:

   What|Removed |Added

 CC||aoliva at gcc dot gnu.org

--- Comment #2 from Jan Kratochvil  ---
These fixes are very simple, maybe you can check it in as obvious?

BTW the file was written by Alexandre Oliva, I wrote no single line there.

[Bug c/94669] libcc1: 4 * minor performance problem

2020-04-20 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94669

David Binderman  changed:

   What|Removed |Added

 CC||jan.kratochvil at redhat dot 
com

--- Comment #1 from David Binderman  ---
>From git blame, adding original author.