|author||Nobuyoshi Nakada <email@example.com>||2022-10-04 10:54:28 +0900|
|committer||Nobuyoshi Nakada <firstname.lastname@example.org>||2022-10-04 21:53:59 +0900|
[Bug #19028] Suppress GCC 12 `-Wuse-after-free` false warning
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: Merged: https://github.com/ruby/ruby/pull/6487
Diffstat (limited to 'ext/-test-')
0 files changed, 0 insertions, 0 deletions