This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Where can I get the output of the front-end.


Steven Bosscher <s dot bosscher at student dot tudelft dot nl> writes:

> Op do 03-04-2003, om 18:09 schreef Matthieu Moy:
>> Hi,
>> 
>> I'm  still trying  to re-use  the  front-end of  GCC to  do some  code
>> analysis. (I'm using the tree-ssa branch)

[...]

> Look at  tree-optimize.c, or if  you want to  hook in after  the SSA

OK, I could do it. 

I still have 2 questions :

* I  plugged myself  just  after  the ssa  optimizations  by adding  a
  function  call.  What  I  don't  manage  to  do  is  to  remove  the
  backend ... (My modified code still generates RTL and assembler)

* I can see the functions one by one, but is there a moment during the
  compilation  at which we  can see  the whole  program in  one single
  tree ? (A kind of list of functions and declarations)

Thanks,

-- 
Matthieu


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]