[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
Severity: normal Priority: P3 Component: analyzer Assignee: dmalcolm at gcc dot gnu.org Reporter: alan.coopersmith at oracle dot com Target Milestone: --- Created attachment 58058 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58058&action=edit

[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 -fana

[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: https://gitlab.freedeskt

[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&action=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
Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: alan.coopersmith at oracle dot com Target Milestone: --- Created attachment 57985 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57985&action=edit Test case When review

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

2019-10-10 Thread alan.coopersmith at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57025 --- Comment #9 from Alan Coopersmith --- And I got here this week due to the discussion on https://gitlab.freedesktop.org/mesa/mesa/merge_requests/2258/diffs?commit_id=78cd9c60eef40650bba1182d8bb51fc9beb938e2#note_254374 about why Mesa needed to

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

2019-10-09 Thread alan.coopersmith at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57025 Alan Coopersmith changed: What|Removed |Added CC||alan.coopersmith at oracle dot com

[Bug web/53608] New: Documentation could be clearer about designated initializers of unions

2012-06-07 Thread alan.coopersmith at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53608 Bug #: 53608 Summary: Documentation could be clearer about designated initializers of unions Classification: Unclassified Product: gcc Version: unknown Status: UNCONF