https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97688
--- Comment #7 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-9 branch has been updated by Richard Biener <rgue...@gcc.gnu.org>: https://gcc.gnu.org/g:e42cb1d48035b85a43adb202433ff0193c151410 commit r9-9021-ge42cb1d48035b85a43adb202433ff0193c151410 Author: Richard Biener <rguent...@suse.de> Date: Tue Nov 3 10:24:02 2020 +0100 testsuite/97688 - fix check_vect () with __AVX2__ This fixes the cpuid check to always specify a subleaf zero which is required to detect AVX2 and doesn't hurt for level one. Without this fix we get zero runtime coverage when -mavx2 is specified. 2020-11-03 Richard Biener <rguent...@suse.de> PR testsuite/97688 * gcc.dg/vect/tree-vect.h (check_vect): Fix the x86 cpuid check to always specify subleaf zero. (cherry picked from commit 8414529156e0bca37647c440c71beeca1d04ac86)