https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89230
--- Comment #10 from CVS Commits ---
The master branch has been updated by Martin Sebor :
https://gcc.gnu.org/g:2dbbbe893f75f587c48111ab4c97cf5e74fb91bb
commit r11-8202-g2dbbbe893f75f587c48111ab4c97cf5e74fb91bb
Author: Martin Sebor
Date: Thu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89230
Martin Sebor changed:
What|Removed |Added
Known to fail||10.2.0, 7.3.0, 8.3.0, 9.2.0
Target Mile
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89230
--- Comment #8 from Eric Gallager ---
(In reply to Eric Gallager from comment #7)
> (In reply to Andrew Pinski from comment #3)
> > (In reply to lavr from comment #2)
> > > Okay, but "d" points to a clearly separate storage on stack within a loca
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89230
--- Comment #7 from Eric Gallager ---
(In reply to Andrew Pinski from comment #3)
> (In reply to lavr from comment #2)
> > Okay, but "d" points to a clearly separate storage on stack within a local
> > frame. None of the pointers passed to (s)pr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89230
--- Comment #6 from lavr at ncbi dot nlm.nih.gov ---
That said, any function call within the outer "if()" but before the inner
"if()" would cause the warning, even if that call does not accept any pointers
(and thus cannot alias with local "s").
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89230
--- Comment #5 from lavr at ncbi dot nlm.nih.gov ---
Thank you Martin, for giving me the idea of where the problem might be stemming
from! It does look like *printf() is not recognized by GCC as not modifying
the local memory. But in your exampl
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89230
Martin Sebor changed:
What|Removed |Added
Keywords||alias
CC|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89230
Andrew Pinski changed:
What|Removed |Added
Status|UNCONFIRMED |WAITING
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89230
--- Comment #2 from lavr at ncbi dot nlm.nih.gov ---
Okay, but "d" points to a clearly separate storage on stack within a local
frame. None of the pointers passed to (s)printf() relate to that area (either
they are also clearly separate within th
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89230
--- Comment #1 from Andrew Pinski ---
So what is happening here is GCC does not know the properties of sprintf/printf
to know they can't modify memory therefor GCC cannot figure out d->D_fid[2]
does not change from the first if statement to the s
10 matches
Mail list logo