[Bug analyzer/114791] analyzer: file-leak not detected

2024-04-21 Thread urs at akk dot org via Gcc-bugs
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;

[Bug analyzer/114791] analyzer: file-leak not detected

2024-04-20 Thread urs at akk dot org via Gcc-bugs
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 =

[Bug analyzer/114791] analyzer: file-leak not detected

2024-04-20 Thread urs at akk dot org via Gcc-bugs
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

[Bug analyzer/114791] New: analyzer: file-leak not detected

2024-04-20 Thread urs at akk dot org via Gcc-bugs
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

[Bug target/112643] [14 regression] including x86intrin.h is broken for -march=native (which adds -mno-avx10.1-256 )

2023-11-22 Thread urs at akk dot org via Gcc-bugs
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.

[Bug bootstrap/112643] [14 regression] failure to build libitm with --disable-bootstrap after r14-5607-g2f8f7ee2db82a3

2023-11-20 Thread urs at akk dot org via Gcc-bugs
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

[Bug bootstrap/112643] Failure to build libitm with --disable-bootstrap after r14-5607-g2f8f7ee2db82a3

2023-11-20 Thread urs at akk dot org via Gcc-bugs
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

[Bug analyzer/109120] New: False positive -Wanalyzer-malloc-leak with failed iconv_open()

2023-03-13 Thread urs at akk dot org via Gcc-bugs
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

[Bug analyzer/107158] False postives from -Wanalyzer-malloc-leak on tin-2.6.2

2022-11-24 Thread urs at akk dot org via Gcc-bugs
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.

[Bug analyzer/107711] internal compiler error: Segmentation fault

2022-11-16 Thread urs at akk dot org via Gcc-bugs
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

[Bug analyzer/107711] internal compiler error: Segmentation fault

2022-11-16 Thread urs at akk dot org via Gcc-bugs
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 >

[Bug analyzer/107711] internal compiler error: Segmentation fault

2022-11-16 Thread urs at akk dot org via Gcc-bugs
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

[Bug analyzer/107711] New: internal compiler error: Segmentation fault

2022-11-15 Thread urs at akk dot org via Gcc-bugs
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:

[Bug analyzer/107225] FP with -Wanalyzer-mismatching-deallocation

2022-10-11 Thread urs at akk dot org via Gcc-bugs
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)

[Bug analyzer/107225] New: FP with -Wanalyzer-mismatching-deallocation

2022-10-11 Thread urs at akk dot org via Gcc-bugs
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:

[Bug analyzer/107158] False postives from -Wanalyzer-malloc-leak on tin-2.6.2

2022-10-05 Thread urs at akk dot org via Gcc-bugs
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

[Bug analyzer/107158] internal compiler error: in get_or_create_cluster, at analyzer/store.cc:2832

2022-10-05 Thread urs at akk dot org via Gcc-bugs
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

[Bug analyzer/107158] New: internal compiler error: in get_or_create_cluster, at analyzer/store.cc:2832

2022-10-05 Thread urs at akk dot org via Gcc-bugs
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:

[Bug analyzer/104029] New: internal compiler error with -fanalyzer-checker=taint

2022-01-14 Thread urs at akk dot org via Gcc-bugs
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