[Bug target/97148] New: Add <intintrin.h>
hjl.tools at gmail dot com
gcc-bugzilla@gcc.gnu.org
Mon Sep 21 14:03:35 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97148
Bug ID: 97148
Summary: Add <intintrin.h>
Product: gcc
Version: 11.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: hjl.tools at gmail dot com
CC: crazylht at gmail dot com
Target Milestone: ---
<x86intrin.h> is always usable. libgcc/config/i386/shadow-stack-unwind.h has
/* NB: We need _get_ssp and _inc_ssp from <cetintrin.h>. But we can't
include <x86intrin.h> which ends up including <mm_malloc.h>, which
includes <stdlib.h> and <errno.h> unconditionally. But we can't
include any libc system headers unconditionally from libgcc. Avoid
including <mm_malloc.h> here by defining _IMMINTRIN_H_INCLUDED. */
#define _IMMINTRIN_H_INCLUDED
#include <cetintrin.h>
#undef _IMMINTRIN_H_INCLUDED
We should add <intintrin.h> for integer only intrinsics.
More information about the Gcc-bugs
mailing list