public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* help on - adding a new pass to gcc
@ 2009-11-10 16:25 ddmetro
  2009-11-10 16:36 ` Andrew Pinski
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: ddmetro @ 2009-11-10 16:25 UTC (permalink / raw)
  To: gcc


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 : sched-by-category.c $(CONFIG_H) $(SYSTEM_H)
coretypes.h $(TM_H) \
   $(RTL_H) $(SCHED_INT_H) $(REGS_H) hard-reg-set.h $(FLAGS_H) insn-config.h
\
   $(FUNCTION_H) $(INSN_ATTR_H) $(TOPLEV_H) $(RECOG_H) except.h $(PARAMS_H)
\
   $(TM_P_H) $(TARGET_H) $(CFGLAYOUT_H) $(TIMEVAR_H) tree-pass.h  \
   $(DBGCNT_H)

         We are getting an error in passes.c - undefined reference to
'pass_sched3'
         Kindly guide us as to what is wrong in our approach of adding a new
file to gcc build.

Thanking You,
  Dhiraj.
-- 
View this message in context: http://old.nabble.com/help-on---adding-a-new-pass-to-gcc-tp26286452p26286452.html
Sent from the gcc - Dev mailing list archive at Nabble.com.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-11-10 16:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-11-10 16:25 help on - adding a new pass to gcc ddmetro
2009-11-10 16:36 ` Andrew Pinski
2009-11-10 16:37 ` Bingfeng Mei
2009-11-10 16:45 ` Basile STARYNKEVITCH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).