This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Where can I get the output of the front-end.
- From: Matthieu Moy <Matthieu dot Moy at imag dot fr>
- To: Steven Bosscher <s dot bosscher at student dot tudelft dot nl>
- Cc: gcc at gcc dot gnu dot org
- Date: Fri, 04 Apr 2003 18:52:09 +0200
- Subject: Re: Where can I get the output of the front-end.
- References: <vpqhe9fy340.fsf@ecrins.imag.fr> <1049386407.757.12.camel@steven>
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