https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89907
--- Comment #1 from hjl at gcc dot gnu.org <hjl at gcc dot gnu.org> --- Author: hjl Date: Mon Apr 1 18:34:00 2019 New Revision: 270066 URL: https://gcc.gnu.org/viewcvs?rev=270066&root=gcc&view=rev Log: Check avx2_available in check_avx2_available check_avx2_available should check avx2_available, instead of avx_available. Otherwise, check_avx2_available may use result from check_avx_available. PR testsuite/89907 * lib/target-supports.exp (check_avx2_available): Replace avx_available with avx2_available. Modified: trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/lib/target-supports.exp