From 4a5ba933e71c8861234a05a5beb657f09087d77f Mon Sep 17 00:00:00 2001 From: Ira Rosen Date: Sun, 29 May 2011 16:47:05 +0000 Subject: [PATCH] re PR testsuite/49222 (FAIL: gcc.dg/vect/pr49038.c (test for excess errors) on *-apple-darwin*) PR testsuite/49222 * gcc.dg/vect/pr49038.c: Use MAP_ANON if MAP_ANONYMOUS is not defined. From-SVN: r174398 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/gcc.dg/vect/pr49038.c | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index e72e84e416d..eb55295310e 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2011-05-29 Ira Rosen + + PR testsuite/49222 + * gcc.dg/vect/pr49038.c: Use MAP_ANON if MAP_ANONYMOUS is not defined. + 2011-05-29 Eric Botcazou * gnat.dg/boolean_subtype.adb: Rename to... diff --git a/gcc/testsuite/gcc.dg/vect/pr49038.c b/gcc/testsuite/gcc.dg/vect/pr49038.c index ab440a38996..91c214ffd4c 100644 --- a/gcc/testsuite/gcc.dg/vect/pr49038.c +++ b/gcc/testsuite/gcc.dg/vect/pr49038.c @@ -6,6 +6,10 @@ #define ADDRESS 0x1122000000 #define TYPE unsigned short +#ifndef MAP_ANONYMOUS +#define MAP_ANONYMOUS MAP_ANON +#endif + void __attribute__((noinline)) foo (TYPE *__restrict a, TYPE *__restrict b) { -- 2.30.2