This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/65584] [i386] Intrinsics inclusion with `-nostdinc' failing due to `stdlib.h' dependency


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]