https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65584
--- Comment #2 from Kirill Yukhin <kyukhin at gcc dot gnu.org> --- (In reply to Jakub Jelinek from comment #1) > IMHO a user error, if you use -nostdinc, you are responsible for letting the > compiler know where to find all the needed includes. Yes, but for my case, these header is not needed. Moreover, as far as I understand <stdlib.h> inclusion was added for compatibility with ICC only. Maybe, somehow check if this header is available and include <mm_malloc.h> into <x86intrin.h> only if it is.