[Bug c++/57025] Solaris g++ defines __STDC_VERSION__=199901L

2024-05-22 Thread alan.coopersmith at oracle dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57025 Alan Coopersmith changed: What|Removed |Added CC||alan.coopersmith at oracle dot com

[Bug analyzer/114880] New: analyzer: False positive Wanalyzer-fd-use-after-close when open returns the same fd

2024-04-28 Thread alan.coopersmith at oracle dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114880 Bug ID: 114880 Summary: analyzer: False positive Wanalyzer-fd-use-after-close when open returns the same fd Product: gcc Version: 13.2.0 Status: UNCONFIRMED

[Bug analyzer/113329] analyzer: False positive analyzer-fd-use-without-check with dup2()

2024-04-28 Thread alan.coopersmith at oracle dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113329 --- Comment #2 from Alan Coopersmith --- I've hit this as well with gcc 13.2 when building xfs with -fanalyzer. I extracted this test case from https://gitlab.freedesktop.org/xorg/app/xfs/-/blob/master/os/daemon.c and when built with "gcc

[Bug analyzer/113329] analyzer: False positive analyzer-fd-use-without-check with dup2()

2024-04-28 Thread alan.coopersmith at oracle dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113329 Alan Coopersmith changed: What|Removed |Added CC||alan.coopersmith at oracle dot com

[Bug tree-optimization/114776] -Wuse-after-free analysis believes assert() but not g_assert_null()

2024-04-18 Thread alan.coopersmith at oracle dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114776 --- Comment #6 from Alan Coopersmith --- Thanks, I didn't realize there was a test_nonfatal_assertions path through the g_assert that could return here. I'll update the wording on my proposed workaround to reflect that:

[Bug tree-optimization/114776] -Wuse-after-free analysis believes assert() but not g_assert_null()

2024-04-18 Thread alan.coopersmith at oracle dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114776 --- Comment #5 from Alan Coopersmith --- Created attachment 57986 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57986=edit Preproccessed test case

[Bug c/114776] New: -Wuse-after-free analysis believes assert() but not g_assert_null()

2024-04-18 Thread alan.coopersmith at oracle dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114776 Bug ID: 114776 Summary: -Wuse-after-free analysis believes assert() but not g_assert_null() Product: gcc Version: 13.2.0 Status: UNCONFIRMED Severity: normal