This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: It's (PCH) merging time!
- From: Fergus Henderson <fjh at cs dot mu dot OZ dot AU>
- To: Geert Bosch <bosch at gnat dot com>
- Cc: Geoff Keating <geoffk at redhat dot com>, gcc-patches at gcc dot gnu dot org
- Date: Sun, 6 Oct 2002 12:42:21 +1000
- Subject: Re: It's (PCH) merging time!
- References: <200206040657.g546vv506848@desire.geoffk.org> <24D4C833-D8D1-11D6-BF1B-00039344BF4A@gnat.com>
On 05-Oct-2002, Geert Bosch <bosch@gnat.com> wrote:
> On Tuesday, Jun 4, 2002, at 02:57 America/New_York, Geoff Keating wrote:
> >OK, I'm just about ready to make the merge from pch-branch.
> >I've put the final patch at
> ><http://people.redhat.com/geoffk/patches/pch-12.patch>. Some minor
> >additional work was required to get the branch merged into mainline.
>
> This patch breaks Ada, since the following change is made to decl.c
> and other sources:
>
> @@ -6209,3 +6212,5 @@ concat_id_with_name (gnu_id, suffix)
> strcpy (Name_Buffer + len, suffix);
> return get_identifier (Name_Buffer);
> }
> +
> +#include "gt-ada-decl.h"
>
> Apparently this file should be autogenerated, but I can't figure out
> how that is supposed to happen, and why it doesn't.
That file is supposed to be generated by gengtype, I believe,
which is invoked by the following rule in the Makefile:
s-gtype: gengtype$(build_exeext) $(GTFILES)
./gengtype
$(STAMP) s-gtype
The ada/decl.c file name should be included in gtfiles in ada/config-lang.in
(which it is), and it should then get included in gtyp-gen.h,
which gets #included in gengtype.c, which gets compiled to the
gentype executable, which should generate the gt-ada-decl.h file.
I don't know why it isn't working.
--
Fergus Henderson <fjh@cs.mu.oz.au> | "I have always known that the pursuit
The University of Melbourne | of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh> | -- the last words of T. S. Garp.