https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68316
--- Comment #3 from Jeffrey Walton <noloader at gmail dot com> --- (In reply to Jonathan Wakely from comment #1) > As the comment says, you need to include <x86intrin.h> not <immintrin.h> OK, thanks. Here we were told to follow Intels docs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68081. We had to go grepping when that did not work. Its very frustrating to determine what we should be doing when the rules become a moving target. Perhaps GCC could document some of this to remove the confusion and ambiguity.