This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Out of ssa form only for some basic block
- From: "Mario Fanelli" <mario dot fanelli at gmail dot com>
- To: gcc at gcc dot gnu dot org
- Date: Wed, 16 Apr 2008 11:48:30 +0200
- Subject: Out of ssa form only for some basic block
Hi,
I'm trying to add a simple function to the callgraph using
cgraph_add_new_function() ( new function body is obtained by function
actually processed) .
I put my pass in pass_tree_loop.sub as first pass just after
pass_tree_loop_init pass, but I have some problems because the code
that I put into the new function ( using move_sese_region_to_fn() ) is
already in ssa form.
Unfortunately I have to use gcc version 4.2.2 and so I think that the
only solution is to put the code out of the ssa form.
Could someone point me to the right direction? What am I doing wrong?
Regards,
Mario Fanelli