Where can I get the output of the front-end.
Matthieu Moy
Matthieu.Moy@imag.fr
Fri Apr 4 18:12:00 GMT 2003
Steven Bosscher <s.bosscher@student.tudelft.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
More information about the Gcc
mailing list