Commit 01be28d8 by Andrew Pinski Committed by Andrew Pinski

20030711-1.c: Include stddef.h and stdio.h.

2005-08-31  Andrew Pinski  <pinskia@physics.uc.edu>

        * gcc.dg/20030711-1.c: Include stddef.h and stdio.h.
        * gcc.dg/20050826-1.c: Likewise.

From-SVN: r103789
parent ab7654d9
2005-08-31 Andrew Pinski <pinskia@physics.uc.edu>
* gcc.dg/20030711-1.c: Include stddef.h and stdio.h.
* gcc.dg/20050826-1.c: Likewise.
2005-08-31 Mark Mitchell <mark@codesourcery.com>
PR c++/23167
......@@ -2,6 +2,8 @@
nor any code with memcmp semantics. */
/* { dg-do run { target i?86-*-linux* x86_64-*-linux* ia64-*-linux* alpha*-*-linux* powerpc*-*-linux* s390*-*-linux* sparc*-*-linux* *-*-darwin* } } */
/* { dg-options "-O2" } */
#include <stddef.h>
#include <stdio.h>
#include <sys/mman.h>
#ifndef MAP_ANONYMOUS
#define MAP_ANONYMOUS MAP_ANON
......
......@@ -2,6 +2,8 @@
nor any code with memcmp semantics. */
/* { dg-do run { target i?86-*-linux* x86_64-*-linux* ia64-*-linux* alpha*-*-linux* powerpc*-*-linux* s390*-*-linux* sparc*-*-linux* i?86-*-darwin* powerpc-*-darwin*} } */
/* { dg-options "-O2" } */
#include <stddef.h>
#include <stdio.h>
#include <sys/mman.h>
/* Darwin spells this differently */
#ifndef MAP_ANONYMOUS
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment