This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [tree-ssa] live analysis on local static functions
On Tue, 2003-10-14 at 12:46, Jan Hubicka wrote:
> Should be there a link when the initialization happens outside the
> function?
>
No.
> No VDEFs are emit for static initailizers.
> There is VUSE <a_1> but as I've explained earlier it points to SSA_NAME
> so we don't set tree-used flag on the original.
>
Ah, so this is not happening after DCE, after all. Sorry about that.
Are you getting this on the way out of SSA? The removal of "useless"
statements may need to be taught not to remove static initializers.
Diego.