https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71934
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #51929|0 |1 is obsolete| | Attachment #51931|0 |1 is obsolete| | --- Comment #25 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Created attachment 51932 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51932&action=edit gcc12-pr71934.patch Fix a small thinko in host-linux.c, for addr == (void *) MAP_FAILED we need to fail, not blindly try to write at it.