> When last week a testcase using mmap was posted with a copy of some old > (and wrong) list of targets supporting mmap, I noticed what mess we have > here. To fix this, I've introduced a new effective-target keyword mmap > and use it in all testcases. > > Two minor changes to the tests were required: > > * gcc.dg/20030711-1.c and gcc.dg/20050826-1.c failed to compile on IRIX > which doesn't have MAP_ANON. > > * gcc.dg/vect/pr49038.c must not use dg-do run: on Solaris 8/x86, which > cannot execute SSE insns, the vect.dg are usually demoted into compile > tests on such targets, which is defeated by the explicit dg-do run. > > With those changes, I could successfully run the tests on > i386-pc-solaris2.8, i386-pc-solaris2.11, alpha-dec-osf5.1b, > mips-sgi-irix6.5, powerpc-apple-darwin9.8.0 and i386-apple-darwin9.8.0. > > Given this wide range of working system, I think it's reasonably safe to > install this patch, thus: installed on mainline.
Could this patch be also backported to 4.6? gcc.dg/vect/pr49038.c fails on 4.6 as well (on SPU). Thanks, Ira