https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114791
--- Comment #5 from Urs Janßen ---
-Wanalyzer-fd-leak has the same issue, no warning given for:
#define _DEFAULT_SOURCE 1
#include
#include
#include
#include
#include
int main(void);
int main(void) {
int fd = -1;
int i = 0;
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114791
--- Comment #3 from Urs Janßen ---
Comment on attachment 57998
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57998
minimal test case
>#include
>#include
>#include
>#include
>
>int main(void);
>
>int main(void) {
>FILE *fp =
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114791
--- Comment #1 from Urs Janßen ---
Created attachment 57999
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57999=edit
preprocessed example
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114791
Bug ID: 114791
Summary: analyzer: file-leak not detected
Product: gcc
Version: 14.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: analyzer
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112643
--- Comment #25 from urs at akk dot org ---
(In reply to Haochen Jiang from comment #24)
> Patch aims to fix that:
>
> https://gcc.gnu.org/pipermail/gcc-patches/2023-November/637865.html
Yes, that solved the issue for me. Thanks.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112643
--- Comment #11 from urs at akk dot org ---
I'm using
gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-linux-gnu/13/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none:amdgcn-amdhsa
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112643
urs at akk dot org changed:
What|Removed |Added
CC||urs at akk dot org
--- Comment #6
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109120
Bug ID: 109120
Summary: False positive -Wanalyzer-malloc-leak with failed
iconv_open()
Product: gcc
Version: 13.0
Status: UNCONFIRMED
Severity: normal
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107158
--- Comment #9 from urs at akk dot org ---
After commit ce917b0422c145779b83e005afd8433c0c86fb06 this doesn't show up
anymore.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107711
--- Comment #6 from urs at akk dot org ---
Created attachment 53913
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53913=edit
head of fanalyzer-dump with patch from 53911
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107711
--- Comment #5 from urs at akk dot org ---
On Wed, Nov 16, 2022 at 03:54:54PM +, dmalcolm at gcc dot gnu.org wrote:
> If you're familiar with gdb, would you be able to reproduce the crasher under
> gdb, by adding:
> -wrapper gdb,--args
>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107711
--- Comment #2 from urs at akk dot org ---
On Wed, Nov 16, 2022 at 02:41:40PM +, dmalcolm at gcc dot gnu.org wrote:
> Unfortunately I can't reproduce the ICE with the attachment.
Yes, attachment was created with "-v -save-temps
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107711
Bug ID: 107711
Summary: internal compiler error: Segmentation fault
Product: gcc
Version: 13.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107225
--- Comment #1 from urs at akk dot org ---
Created attachment 53694
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53694=edit
reduced test case for FP with -fanalyzer (-Wanalyzer-mismatching-deallocation,
-Wanalyzer-file-leak)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107225
Bug ID: 107225
Summary: FP with -Wanalyzer-mismatching-deallocation
Product: gcc
Version: 13.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107158
--- Comment #5 from urs at akk dot org ---
Now (git @ e99dcbb54e07b798c3353124f38336f96a826d43; same $CFLAGS and source
file)
during IPA pass: analyzer
./makecfg.c: In function ‘parse_tbl’:
./makecfg.c:150:25: internal compiler error: in
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107158
--- Comment #1 from urs at akk dot org ---
Created attachment 53668
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53668=edit
internal compiler error: in get_or_create_cluster, at analyzer/store.cc:2832
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107158
Bug ID: 107158
Summary: internal compiler error: in get_or_create_cluster, at
analyzer/store.cc:2832
Product: gcc
Version: 13.0
Status: UNCONFIRMED
Severity:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104029
Bug ID: 104029
Summary: internal compiler error with -fanalyzer-checker=taint
Product: gcc
Version: 12.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
19 matches
Mail list logo