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] Fix PR tree-optimization/49038


Ira Rosen wrote:

> 	* gcc.dg/vect/pr49038.c: New test.

> Index: testsuite/gcc.dg/vect/pr49038.c
> ===================================================================
> --- testsuite/gcc.dg/vect/pr49038.c	(revision 0)
> +++ testsuite/gcc.dg/vect/pr49038.c	(revision 0)
> @@ -0,0 +1,38 @@
> +#include <sys/mman.h>
> +#include <stdio.h>
> +
> +#define COUNT 320
> +#define MMAP_SIZE 0x10000
> +#define ADDRESS 0x1122000000
> +#define TYPE unsigned short

This test fails on spu-elf, and presumably all other targets that
don't have mmap (or <sys/mman.h>) ...

Can the test be restricted to those targets that actually support
that OS feature?

Thanks,
Ulrich

-- 
  Dr. Ulrich Weigand
  GNU Toolchain for Linux on System z and Cell BE
  Ulrich.Weigand@de.ibm.com


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