This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] Makefile.in: Straighten dependencies on function.h.
- From: Alexandre Oliva <aoliva at redhat dot com>
- To: Kazu Hirata <kazu at codesourcery dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Mon, 16 Jan 2006 22:51:02 -0200
- Subject: Re: [patch] Makefile.in: Straighten dependencies on function.h.
- References: <200601161415.k0GEF5MC020198@sparrowhawk.codesourcery.com>
On Jan 16, 2006, Kazu Hirata <kazu@codesourcery.com> wrote:
> Second, note that function.h implicitly depends on tree.h. function.h
> uses "tree" but does not forward-declare the type. This patch makes
> the dependency explicit by including tree.h. Of course, FUNCTION_H is
> updated to include tree.h.
I guess the change to function.h can go in as obvious, so I can
approve the change to Makefile.in and it can all go in. Thanks,
> 2006-01-16 Kazu Hirata <kazu@codesourcery.com>
> * Makefile.in (FUNCTION_H): New. Use it instead of
> function.h throughout the file.
> * function.h: Include tree.h.
--
Alexandre Oliva http://www.lsd.ic.unicamp.br/~oliva/
Red Hat Compiler Engineer aoliva@{redhat.com, gcc.gnu.org}
Free Software Evangelist oliva@{lsd.ic.unicamp.br, gnu.org}