help on - adding a new pass to gcc

Andrew Pinski pinskia@gmail.com
Tue Nov 10 16:36:00 GMT 2009


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



More information about the Gcc mailing list