public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug analyzer/99860] New: RFE: analyzer does not respect "restrict"
@ 2021-03-31 23:10 dmalcolm at gcc dot gnu.org
  2021-04-07 15:05 ` [Bug analyzer/99860] " dmalcolm at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: dmalcolm at gcc dot gnu.org @ 2021-03-31 23:10 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 99860
           Summary: RFE: analyzer does not respect "restrict"
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: analyzer
          Assignee: dmalcolm at gcc dot gnu.org
          Reporter: dmalcolm at gcc dot gnu.org
  Target Milestone: ---

The analyzer currently is very conservative about aliasing, and assumes that
anything that could be aliased by a pointer gets clobbered when a write occurs
through that pointer.

Am filing this bug to remind me to better support pointers marked with
"restrict".

Probably should also warn about places where the analyzer detects that restrict
isn't being honored.

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

end of thread, other threads:[~2023-08-29 22:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-31 23:10 [Bug analyzer/99860] New: RFE: analyzer does not respect "restrict" dmalcolm at gcc dot gnu.org
2021-04-07 15:05 ` [Bug analyzer/99860] " dmalcolm at gcc dot gnu.org
2022-07-27 22:54 ` dmalcolm at gcc dot gnu.org
2023-08-29 22:16 ` cvs-commit 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).