This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH: Fix Ada bootstrap on Solaris 10/x86
- From: Arnaud Charlet <charlet at adacore dot com>
- To: Rainer Orth <ro at techfak dot uni-bielefeld dot de>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Fri, 25 Jul 2008 14:19:31 +0200
- Subject: Re: PATCH: Fix Ada bootstrap on Solaris 10/x86
- References: <18569.50257.345739.517026@manam.TechFak.Uni-Bielefeld.DE>
> ../../options.h:516: error: expected ')' before '*' token
> ../../options.h:525: error: expected ')' before '*' token
>
> This happens because options.h now has declarations for
>
> extern void cl_optimization_print (FILE *, int, struct cl_optimization *);
> extern void cl_target_option_print (FILE *, int, struct cl_target_option *);
>
> but <stdio.h> isn't included. Everywhere else, system.h or tsystem.h is
> included before tm.h, so the obvious solution seems to be to move the
> include of tsystem.h before tm.h, too. The following patch does this and
> allows the i386-pc-solaris2.10 bootstrap to finish. I don't have a
> baseline to compare against, bug ACATS and gnat testsuite results look good:
>
> === acats Summary ===
> # of expected passes 2315
> # of unexpected failures 0
> Native configuration is i386-pc-solaris2.10
>
> === gnat Summary for unix ===
>
> # of expected passes 525
> # of expected failures 6
>
> Ok for mainline?
Yes this is OK, thanks.
Arno