This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] Fix gcc.dg/vect/pr49038.c (was Re: [patch] Fix PR tree-optimization/49038)


Ira Rosen <ira.rosen@linaro.org> writes:

>> This test fails on spu-elf, and presumably all other targets that
>> don't have mmap (or <sys/mman.h>) ...
>>
>> Can the test be restricted to those targets that actually support
>> that OS feature?
>
> I copied the list of targets from gcc.dg/20050826-1.c.

Sorry, but this is a bad idea: having such a list once might be
acceptable, but copying it around guarantees that the copies will
diverge.  Besided, this list already is way incomplete:
e.g. *-*-solaris2*, alpha*-dec-osf* and mips-sgi-irix* are missing, and
probably many more like the *BSDs.  I'll change this into an
effective-target keyword and replace the hardcoded list by a compile
test for <sys/mman.h>.

	Rainer

-- 
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]