summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorirar <irar@138bc75d-0d04-0410-961f-82ee72b054a4>2011-05-29 16:47:05 +0000
committerirar <irar@138bc75d-0d04-0410-961f-82ee72b054a4>2011-05-29 16:47:05 +0000
commita8e8a7e967f12741681f2fcbe96ea69d2a1a280b (patch)
tree9fafb58fe6ad6e6fc99934b89eec1ee9ddd00594 /gcc
parent894593c869c8458619c12927b66b4e0e57f9257e (diff)
downloadgcc-a8e8a7e967f12741681f2fcbe96ea69d2a1a280b.tar.gz
PR testsuite/49222
* gcc.dg/vect/pr49038.c: Use MAP_ANON if MAP_ANONYMOUS is not defined. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@174398 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog5
-rw-r--r--gcc/testsuite/gcc.dg/vect/pr49038.c4
2 files changed, 9 insertions, 0 deletions
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 <ira.rosen@linaro.org>
+
+ PR testsuite/49222
+ * gcc.dg/vect/pr49038.c: Use MAP_ANON if MAP_ANONYMOUS is not defined.
+
2011-05-29 Eric Botcazou <ebotcazou@adacore.com>
* 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)
{