This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH: Fix Ada bootstrap on Tru64 UNIX
- From: Rainer Orth <ro at TechFak dot Uni-Bielefeld dot DE>
- To: Arnaud Charlet <charlet at adacore dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Mon, 21 Sep 2009 21:06:28 +0200 (MEST)
- Subject: Re: PATCH: Fix Ada bootstrap on Tru64 UNIX
- References: <19053.55048.835194.269480@manam.TechFak.Uni-Bielefeld.DE> <20090727173108.GA83314@adacore.com> <19053.59080.915196.864187@manam.TechFak.Uni-Bielefeld.DE> <20090727175116.GA86035@adacore.com> <19053.60936.111361.691103@manam.TechFak.Uni-Bielefeld.DE> <20090727190142.GA94731@adacore.com>
Arnaud Charlet writes:
> > +/* Tru64 UNIX <stdlib.h> declares unsetenv() only iff _BSD. */
> ^^^^^^^^
> replace comment by 'only if' or 'iff', since 'iff' means 'if and only if'
>
> > +#if defined (__alpha__) && defined (__osf__)
> > +#define _BSD
> > +#endif
>
> Patch is OK with the comment change, assuming testing passes.
I've now checked in both parts. Mainline bootstrapped with the change as
of 20090915 (rev 151722), although testsuite results are terrible:
http://gcc.gnu.org/ml/gcc-testresults/2009-09/msg01923.html
This isn't new, though, but happened already on 20090622 (rev 148784), as
reported in PR ada/40346.
Rainer
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University