public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug analyzer/94851] New: -fanalyzer erroniously reporting NULL dereference - simple test case attached
@ 2020-04-29 15:23 addw at phcomp dot co.uk
  2020-04-29 15:27 ` [Bug analyzer/94851] " addw at phcomp dot co.uk
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: addw at phcomp dot co.uk @ 2020-04-29 15:23 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 94851
           Summary: -fanalyzer erroniously reporting NULL dereference -
                    simple test case attached
           Product: gcc
           Version: 10.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: analyzer
          Assignee: dmalcolm at gcc dot gnu.org
          Reporter: addw at phcomp dot co.uk
  Target Milestone: ---

Created attachment 48409
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48409&action=edit
C source showing error

Attached is a simplified part of a bigger program.
Compiled on Fedora 32:

cc -O2 -Wall -Wno-pointer-sign -Wconversion -fanalyzer -c -o pmark.o pmark.c

Output also attached.

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

end of thread, other threads:[~2020-08-22 15:30 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-29 15:23 [Bug analyzer/94851] New: -fanalyzer erroniously reporting NULL dereference - simple test case attached addw at phcomp dot co.uk
2020-04-29 15:27 ` [Bug analyzer/94851] " addw at phcomp dot co.uk
2020-05-08 15:03 ` [Bug analyzer/94851] -fanalyzer erroneously " dmalcolm at gcc dot gnu.org
2020-05-09 22:54 ` hugo_musso_gualandi at hotmail dot com
2020-05-09 22:54 ` hugo_musso_gualandi at hotmail dot com
2020-05-09 23:04 ` hugo_musso_gualandi at hotmail dot com
2020-08-22 15:09 ` cvs-commit at gcc dot gnu.org
2020-08-22 15:30 ` dmalcolm 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).