Hi, This patch uses MAP_ANON if MAP_ANONYMOUS is not defined fixing this test's failure on x86_64-apple-darwin10.
Tested on x86_64-suse-linux and on x86_64-apple-darwin10 (by Dominique). OK to apply? Thanks, Ira testsuite/ChangeLog: PR testsuite/49222 * gcc.dg/vect/pr49038.c: Use MAP_ANON if MAP_ANONYMOUS is not defined. Index: testsuite/gcc.dg/vect/pr49038.c =================================================================== --- testsuite/gcc.dg/vect/pr49038.c (revision 174393) +++ testsuite/gcc.dg/vect/pr49038.c (working copy) @@ -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) {