http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49222
Ira Rosen <irar at il dot ibm.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |irar at il dot ibm.com --- Comment #3 from Ira Rosen <irar at il dot ibm.com> 2011-05-29 11:46:53 UTC --- Could you please check if this works? Thanks, Ira Index: pr49038.c =================================================================== --- pr49038.c (revision 174265) +++ 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) {