[PATCH, GCC] Fix conflicting posix_memalign declaration error

Bernd Schmidt bschmidt@redhat.com
Fri Oct 28 10:38:00 GMT 2016

On 10/27/2016 10:47 PM, Caroline Tice wrote:
>         * config/i386/pmm_malloc.h (posix_memalign):  Add ifdefs to only
>         decorate the declaration with 'throw()' if __GLIBC__ is defined.

I seem to recall a similar patch being submitted by Szabolcs. My 
suggestion at the time was to move _mm_malloc into libgcc so that it 
could just include the right header.


More information about the Gcc-patches mailing list