This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Patch, C++] Add C++ FE support for #pragma GCC ivdep


On Thu, Oct 24, 2013 at 09:17:55PM +0200, Tobias Burnus wrote:
> 2013-08-24  Tobias Burnus  <burnus@net-b.de>
> 
> 	PR other/33426
> 	* g++.dg/parse/ivdep.C: New.
> 	* g++.dg/vect/pr33426-ivdep.cc: New.

FYI, I'm seeing various new FAILs on i686-linux:
+FAIL: gcc.dg/vect/vect-ivdep-1.c  (test for warnings, line )
+FAIL: gcc.dg/vect/vect-ivdep-1.c -flto  (test for warnings, line )
+FAIL: gfortran.dg/vect/vect-do-concurrent-1.f90  -O   (test for warnings, line )
+FAIL: g++.dg/vect/pr33426-ivdep.cc -std=gnu++98  (test for warnings, line )
+FAIL: g++.dg/vect/pr33426-ivdep.cc -std=gnu++11  (test for warnings, line )

> --- /dev/null
> +++ b/gcc/testsuite/g++.dg/vect/pr33426-ivdep.cc
> @@ -0,0 +1,19 @@
> +/* { dg-do compile } */
> +/* { dg-require-effective-target vect_float } */
> +/* { dg-options "-O3 -fopt-info-vec-optimized" } */

The problem is likely the same in all cases and same as I've mailed about
recently, dg-options should never be used in *.dg/vect/* testcases,
instead just use dg-additional-options, because otherwise the
required target options to enable vectorization aren't passed in.

	Jakub


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]