sourcebuild.texi (Effective-Target Keywords, [...]): Document mmap.
authorRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
Mon, 25 Jul 2011 16:44:22 +0000 (16:44 +0000)
committerRainer Orth <ro@gcc.gnu.org>
Mon, 25 Jul 2011 16:44:22 +0000 (16:44 +0000)
commit8175c19c1ba6e51ea44e00ea4bff5a3725ddbddb
tree22bb96fab4d0da9edd57cf1d1a46ee1591f2645f
parent5057fa13b7b65fe878f1e9b4c48421fc21483d30
sourcebuild.texi (Effective-Target Keywords, [...]): Document mmap.

gcc:
* doc/sourcebuild.texi (Effective-Target Keywords, Environment
attributes): Document mmap.

gcc/testsuite:
* lib/target-supports.exp (check_effective_target_mmap): New proc.

* gcc.c-torture/execute/loop-2f.c: Remove #ifdef __unix__.
* gcc.c-torture/execute/loop-2g.c: Likewise.
* gcc.c-torture/execute/loop-2f.x: Load target-supports.exp.
Require mmap support.
* gcc.c-torture/execute/loop-2g.x: Likewise.
* gcc.dg/20030711-1.c: Replace dg-do target list by mmap.
(MAP_ANON): Provide default.
* gcc.dg/20050826-1.c: Likewise.
* gcc.target/i386/pr36533.c: Likewise.
* gcc.dg/vect/pr49038.c: Remove dg-do run.
Use dg-require-effective-target mmap.

From-SVN: r176760
12 files changed:
gcc/ChangeLog
gcc/doc/sourcebuild.texi
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/loop-2f.c
gcc/testsuite/gcc.c-torture/execute/loop-2f.x
gcc/testsuite/gcc.c-torture/execute/loop-2g.c
gcc/testsuite/gcc.c-torture/execute/loop-2g.x
gcc/testsuite/gcc.dg/20030711-1.c
gcc/testsuite/gcc.dg/20050826-1.c
gcc/testsuite/gcc.dg/vect/pr49038.c
gcc/testsuite/gcc.target/i386/pr36533.c
gcc/testsuite/lib/target-supports.exp