http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60092
--- Comment #10 from Jakub Jelinek <jakub at gcc dot gnu.org> --- (In reply to rguent...@suse.de from comment #9) > Ok, my manpage says > > RETURN VALUE > aligned_alloc(), memalign(), valloc(), and pvalloc() return a > pointer > to the allocated memory, or NULL if the request fails. > > posix_memalign() returns zero on success, or one of the error > values > listed in the next section on failure. Note that errno is not set. > > so that must be incorrect. > > If the value of errno is undefined after posix_memalign that doesn't > help us as we then still cannot CSE. Linux man pages are often incorrect, better look at the 3p ones ;).