public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/91914] [9 Regression] Invalid strlen optimization
[not found] <bug-91914-4@http.gcc.gnu.org/bugzilla/>
@ 2020-03-12 11:58 ` jakub at gcc dot gnu.org
2021-04-30 7:54 ` rguenth at gcc dot gnu.org
` (3 subsequent siblings)
4 siblings, 0 replies; 5+ messages in thread
From: jakub at gcc dot gnu.org @ 2020-03-12 11:58 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91914
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|9.3 |9.4
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 9.3.0 has been released, adjusting target milestone.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug tree-optimization/91914] [9 Regression] Invalid strlen optimization
[not found] <bug-91914-4@http.gcc.gnu.org/bugzilla/>
2020-03-12 11:58 ` [Bug tree-optimization/91914] [9 Regression] Invalid strlen optimization jakub at gcc dot gnu.org
@ 2021-04-30 7:54 ` rguenth at gcc dot gnu.org
2021-05-04 0:15 ` cvs-commit at gcc dot gnu.org
` (2 subsequent siblings)
4 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu.org @ 2021-04-30 7:54 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91914
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P2
--- Comment #7 from Richard Biener <rguenth at gcc dot gnu.org> ---
It's not clear to me which rev. fixed this for GCC 10, but we should backport
the fix to GCC 9 please.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug tree-optimization/91914] [9 Regression] Invalid strlen optimization
[not found] <bug-91914-4@http.gcc.gnu.org/bugzilla/>
2020-03-12 11:58 ` [Bug tree-optimization/91914] [9 Regression] Invalid strlen optimization jakub at gcc dot gnu.org
2021-04-30 7:54 ` rguenth at gcc dot gnu.org
@ 2021-05-04 0:15 ` cvs-commit at gcc dot gnu.org
2021-05-04 0:16 ` msebor at gcc dot gnu.org
2021-05-04 6:25 ` rguenther at suse dot de
4 siblings, 0 replies; 5+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2021-05-04 0:15 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91914
--- Comment #8 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-9 branch has been updated by Martin Sebor
<msebor@gcc.gnu.org>:
https://gcc.gnu.org/g:176e7fa198dd50aca4c882c74fc8f4386a3f9131
commit r9-9501-g176e7fa198dd50aca4c882c74fc8f4386a3f9131
Author: Martin Sebor <msebor@redhat.com>
Date: Mon May 3 18:10:03 2021 -0600
Minimal change to avoid incorrect strlen constant folding (PR 91914).
gcc/ChangeLog:
PR tree-optimization/91914
* expr.c (string_constant): Pass argument type to
fold_ctor_reference to guide it.
gcc/testsuite/ChangeLog:
PR tree-optimization/91914
* gcc.dg/strlenopt-79.c: New test.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug tree-optimization/91914] [9 Regression] Invalid strlen optimization
[not found] <bug-91914-4@http.gcc.gnu.org/bugzilla/>
` (2 preceding siblings ...)
2021-05-04 0:15 ` cvs-commit at gcc dot gnu.org
@ 2021-05-04 0:16 ` msebor at gcc dot gnu.org
2021-05-04 6:25 ` rguenther at suse dot de
4 siblings, 0 replies; 5+ messages in thread
From: msebor at gcc dot gnu.org @ 2021-05-04 0:16 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91914
Martin Sebor <msebor at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|ASSIGNED |RESOLVED
--- Comment #9 from Martin Sebor <msebor at gcc dot gnu.org> ---
(In reply to Richard Biener from comment #7)
> It's not clear to me which rev. fixed this for GCC 10, but we should
> backport the fix to GCC 9 please.
It was fixed in r274837. The change isn't completely isolated and affects
warnings which is why I suggested the much more targeted fix in comment #2. I
committed it in r9-9501.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug tree-optimization/91914] [9 Regression] Invalid strlen optimization
[not found] <bug-91914-4@http.gcc.gnu.org/bugzilla/>
` (3 preceding siblings ...)
2021-05-04 0:16 ` msebor at gcc dot gnu.org
@ 2021-05-04 6:25 ` rguenther at suse dot de
4 siblings, 0 replies; 5+ messages in thread
From: rguenther at suse dot de @ 2021-05-04 6:25 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91914
--- Comment #10 from rguenther at suse dot de <rguenther at suse dot de> ---
On Tue, 4 May 2021, msebor at gcc dot gnu.org wrote:
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91914
>
> Martin Sebor <msebor at gcc dot gnu.org> changed:
>
> What |Removed |Added
> ----------------------------------------------------------------------------
> Resolution|--- |FIXED
> Status|ASSIGNED |RESOLVED
>
> --- Comment #9 from Martin Sebor <msebor at gcc dot gnu.org> ---
> (In reply to Richard Biener from comment #7)
> > It's not clear to me which rev. fixed this for GCC 10, but we should
> > backport the fix to GCC 9 please.
>
> It was fixed in r274837. The change isn't completely isolated and affects
> warnings which is why I suggested the much more targeted fix in comment #2. I
> committed it in r9-9501.
Thanks Martin
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2021-05-04 6:25 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <bug-91914-4@http.gcc.gnu.org/bugzilla/>
2020-03-12 11:58 ` [Bug tree-optimization/91914] [9 Regression] Invalid strlen optimization jakub at gcc dot gnu.org
2021-04-30 7:54 ` rguenth at gcc dot gnu.org
2021-05-04 0:15 ` cvs-commit at gcc dot gnu.org
2021-05-04 0:16 ` msebor at gcc dot gnu.org
2021-05-04 6:25 ` rguenther at suse dot de
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).