https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102231

            Bug ID: 102231
           Summary: <xmmintrin.h> includes <mm_malloc.h> unconditionally
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: segher at gcc dot gnu.org
  Target Milestone: ---

Instead, it should do something like
  #if __STDC_HOSTED__
  #include <mm_malloc.h>
  #endif
as Clang does, because <mm_malloc.h> only exists on hosted environments
(which is good, because it itself uses <stdlib.h>, etc.)

A few intrinsics that use stuff from <mm_malloc.h> need the same treatment.
  • [Bug target/102231] New: <xmmin... segher at gcc dot gnu.org via Gcc-bugs

Reply via email to