Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cflags.SH - add -Wno-use-after-free on gcc 12/13
This works around an overly eager/buggy use-after-free warning detection in gcc 12/13, which gets upset if we copy a pointer into a UV and then realloc the pointer and then use the UV value for diagnostics. Since the copied value is no longer a pointer gcc should not warn, as we are not "using" the pointer, just printing it out as a number. The gcc folks have been informed. See: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108115 Fixes #20601.
- Loading branch information