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

            Bug ID: 80298
           Summary: <x86intrin.h> incompatible with -mno-sse
           Product: gcc
           Version: 6.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: roland at gnu dot org
  Target Milestone: ---

For any x86_64 target, try:

gcc -mno-sse -S -o - -xc <(echo '#include <x86intrin.h>')

It fails with various errors about SSE being disabled.

Many of the components of x86intrin.h make special efforts to ensure that they
can be compiled without the associated code-generation features being enabled
on the command line, but some of them fail to do so.

Reply via email to