This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: help on - adding a new pass to gcc
- From: Andrew Pinski <pinskia at gmail dot com>
- To: ddmetro <puzzlesdj at gmail dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Tue, 10 Nov 2009 08:35:22 -0800
- Subject: Re: help on - adding a new pass to gcc
- References: <26286452.post@talk.nabble.com>
On Tue, Nov 10, 2009 at 8:25 AM, ddmetro <puzzlesdj@gmail.com> wrote:
>
> Hi All,
> Â Â Â Â We are adding a new pass for - structural hazard optimization - in
> gcc.
> Â Â Â Â We have added a rtl_opt_pass variable(pass_sched3) declaration in
> tree-pass.h and defined the same in a new file - sched-by-category.c
> Â Â Â Â We then added a target in gcc/Makefile.in, as follows:
> sched-by-category.o
You forgot to add sched-by-category.o to the OBJS-common variable in
Makefile.in.
Thanks,
Andrew Pinski