This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Commit: RL78: Include tree-pass.h
- From: Richard Guenther <richard dot guenther at gmail dot com>
- To: Nick Clifton <nickc at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Wed, 8 Aug 2012 10:45:19 +0200
- Subject: Re: Commit: RL78: Include tree-pass.h
- References: <87a9y5aiu5.fsf@redhat.com>
On Wed, Aug 8, 2012 at 10:28 AM, Nick Clifton <nickc@redhat.com> wrote:
> Hi DJ,
>
> I am applying the following patch to the gcc mainline as an obvious
> fix for the following problem building the RL78 backend:
>
> gcc/config/rl78/rl78.c:151:3: error: 'PASS_POS_INSERT_BEFORE' undeclared here (not in a function)
Err - you are inside the compiler and should not use plugin stuff to
register your machine dependent pass.
> Cheers
> Nick
>
> gcc/ChangeLog
> 2012-08-08 Nick Clifton <nickc@redhat.com>
>
> * config/rl78/rl78.c: Include tree-pass.h.
>
> Index: gcc/config/rl78/rl78.c
> ===================================================================
> --- gcc/config/rl78/rl78.c (revision 190223)
> +++ gcc/config/rl78/rl78.c (working copy)
> @@ -48,6 +48,7 @@
> #include "langhooks.h"
> #include "rl78-protos.h"
> #include "dumpfile.h"
> +#include "tree-pass.h"
>
> static inline bool is_interrupt_func (const_tree decl);
> static inline bool is_brk_interrupt_func (const_tree decl);