summaryrefslogtreecommitdiff
path: root/ext/syslog/depend
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2022-10-04 10:54:28 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2022-10-04 21:53:59 +0900
commit40ceceb1a5b63029a4d1434d2d20dfa09cdb295f (patch)
tree9d2d38bc6c89cfa38bfd79c2e507ced5c611bcde /ext/syslog/depend
parent6378825df5c7abc7ef45f257057ffd21dc9e63b5 (diff)
[Bug #19028] Suppress GCC 12 `-Wuse-after-free` false warningHEADmaster
GCC 12 introduced a new warning flag `-Wuse-after-free`, however it has a false positive at `realloc` when optimization is disabled, since the memory requested for reallocation is guaranteed to not be touched. This workaround is very unclear why the false warning is suppressed by a statement-expression GCC extension.
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/6487
Diffstat (limited to 'ext/syslog/depend')
0 files changed, 0 insertions, 0 deletions