https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94541
--- Comment #1 from Iain Buclaw <ibuclaw at gdcproject dot org> --- (In reply to Iain Buclaw from comment #0) > A failure is not observed when: > > - The condition is: if (b.ptr && b.length) > - The condition is: if (b.length) > - The ptr and length fields in Array are swapped. > - Array is passed by reference. > - A call to puts("") is inserted before munmap().