[testsuite] Define TARGET_C99_FUNCTIONS/HAVE_C99_RUNTIME on IRIX 6.5

Rainer Orth ro@CeBiTec.Uni-Bielefeld.DE
Thu Feb 10 16:49:00 GMT 2011


Tom Christensen <tgc@jupiterrise.com> writes:

> On 02/09/2011 04:08 PM, Rainer Orth wrote:
>> I've noticed that neither TARGET_C99_FUNCTIONS nor HAVE_C99_RUNTIME are
>> defined for IRIX 6.5 although that OS has full ISO C99 support since
>> IRIX 6.5.18.  The following patch corrects this.
>>
>> Bootstrapped without regressions on mips-sgi-irix6.5 and verified that
>> the dg-require-effective-target c99_runtime tests change from
>> UNSUPPORTED to PASS.
>>
>> Installed on mainline; this patch cannot be backported to 4.4 or 4.5
>> since those releases still support older IRIX 6 releases that lack the
>> required support.
>>
> If seems to me that this effectively means IRIX < 6.5.18 is unsupported. If

Not really: you will only see more testsuite failures on older
releases.  I don't think it's feasible to differentiate between IRIX
micro releases inside the code (except for the fact that configure tests
already test for feature availability individually).  I only test on
6.5.30 anyway, and given current bootstrap times (ca. 44 hours) on my
Onyx^2, I wonder how much longer I can continue to maintain the port.

> that's the case should the target specific notes not be amended
> accordingly?

They already state:

It is @emph{strongly} recommended to upgrade to at least IRIX 6.5.18.
This release introduced full ISO C99 support, though for the N32 and N64
ABIs only.

	Rainer

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



More information about the Gcc-patches mailing list