This is the mail archive of the
mailing list for the GCC project.
Re: [patch] Move generic tree functions from expr.h to tree.h
- From: Richard Biener <richard dot guenther at gmail dot com>
- To: Eric Botcazou <ebotcazou at adacore dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 27 May 2015 14:28:53 +0200
- Subject: Re: [patch] Move generic tree functions from expr.h to tree.h
- Authentication-results: sourceware.org; auth=none
- References: <1605579 dot FL2BK7AGjD at polaris> <CAFiYyc3JyLpWZexAevdZpQXE0-JBC1kg1f0xJoUwg=ip93c=Cg at mail dot gmail dot com> <3134779 dot 5IpdtEkISo at polaris>
On Wed, May 27, 2015 at 12:50 PM, Eric Botcazou <email@example.com> wrote:
>> No. Prototypes of functions defined in A.c should be in A.h, not in some
>> other header. We've been (slowly) moving to that. You should have moved
>> them all to expr.h instead, or move the implementations to tree.c.
> The former is simply not possible since expr.h is poisoned for FEs... I can
> move the implementations to tree.c but get_inner_reference is one of them.
You can leave get_inner_reference in its place then ... or move it. It's hardly
only used by expansion now.
> Eric Botcazou