[Bug analyzer/94858] New: False report of memory leak

2020-04-29 Thread addw at phcomp dot co.uk
Assignee: dmalcolm at gcc dot gnu.org Reporter: addw at phcomp dot co.uk Target Milestone: --- Report of a memory leak - that does not happen. If malloc()/realloc() fails then td->hs_index is left untouched. #include #def

[Bug analyzer/94851] -fanalyzer erroniously reporting NULL dereference - simple test case attached

2020-04-29 Thread addw at phcomp dot co.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94851 --- Comment #1 from Alain D D Williams --- Created attachment 48410 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48410&action=edit Compiler output

[Bug analyzer/94851] New: -fanalyzer erroniously reporting NULL dereference - simple test case attached

2020-04-29 Thread addw at phcomp dot co.uk
: 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 showin