This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] Move generic tree functions from expr.h to tree.h
- From: Eric Botcazou <ebotcazou at adacore dot com>
- To: Richard Biener <richard dot guenther at gmail dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Wed, 27 May 2015 12:50:57 +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>
> 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.
--
Eric Botcazou