From ef7e6df5d66a5c54e8f5b1bca9ab5fa4f6101da3 Mon Sep 17 00:00:00 2001 From: Uros Bizjak Date: Sun, 14 Dec 2008 20:51:03 +0100 Subject: [PATCH] i386-5.C: Include x86intrin.h. * g++.dg/other/i386-5.C: Include x86intrin.h. * g++.dg/other/i386-6.C: Ditto. From-SVN: r142752 --- gcc/testsuite/ChangeLog | 2 ++ gcc/testsuite/g++.dg/other/i386-5.C | 9 +++------ gcc/testsuite/g++.dg/other/i386-6.C | 7 ++----- 3 files changed, 7 insertions(+), 11 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 0ff2a04222b8..61a9bce8b671 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -27,6 +27,8 @@ (dg-options): Use -mavx instead of -msse4. * g++.dg/other/i386-3.C: Include x86intrin.h. (dg-options): Use -mavx instead of -msse4. + * g++.dg/other/i386-5.C: Include x86intrin.h. + * g++.dg/other/i386-6.C: Ditto. 2008-12-12 Uros Bizjak diff --git a/gcc/testsuite/g++.dg/other/i386-5.C b/gcc/testsuite/g++.dg/other/i386-5.C index d9b5460a8dcc..ffbd3f3cec4d 100644 --- a/gcc/testsuite/g++.dg/other/i386-5.C +++ b/gcc/testsuite/g++.dg/other/i386-5.C @@ -1,9 +1,6 @@ -/* Test that {,x,e,p,t,s,w,g,a,b}mmintrin.h, mm3dnow.h and mm_malloc.h are +/* Test that {,x,e,p,t,s,w,a,b,i}mmintrin.h, mm3dnow.h and mm_malloc.h are usable with -O -fkeep-inline-functions. */ /* { dg-do compile { target i?86-*-* x86_64-*-* } } */ -/* { dg-options "-O -fkeep-inline-functions -march=k8 -m3dnow -maes -mpclmul -mavx -msse5" } */ +/* { dg-options "-O -fkeep-inline-functions -march=k8 -m3dnow -mavx -msse5 -maes -mpclmul" } */ -#include -#include -#include -#include +#include diff --git a/gcc/testsuite/g++.dg/other/i386-6.C b/gcc/testsuite/g++.dg/other/i386-6.C index 15f1d5258dfc..2c3cd29d8901 100644 --- a/gcc/testsuite/g++.dg/other/i386-6.C +++ b/gcc/testsuite/g++.dg/other/i386-6.C @@ -1,11 +1,8 @@ -/* Test that {,x,e,p,t,s,w,g,a,b}mmintrin.h, mm3dnow.h and mm_malloc.h are +/* Test that {,x,e,p,t,s,w,a,b,i}mmintrin.h, mm3dnow.h and mm_malloc.h are usable with -O -pedantic-errors. */ /* { dg-do compile { target i?86-*-* x86_64-*-* } } */ /* { dg-options "-O -pedantic-errors -march=k8 -m3dnow -mavx -msse5 -maes -mpclmul" } */ -#include -#include -#include -#include +#include int dummy;