This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
RE: Using SSA
> > The tree_opt_pass for my pass has PROP_ssa set in the
> properties_required
> > field. Is this all I need to do?
>
> You need to put your pass after pass_build_ssa. Setting PROP_ssa does
> not build SSA itself, but it will cause an assertion failure if the
> pass is run while SSA is (not yet) available.
>
> Paolo
I think (if I'm correctly interpreting the list in passes.c) it is. It's
right after pass_warn_function_noreturn, just before pass_mudflap_2. Is
this right? I don't get any assertion about SSA not being available.
Thanks.
Alex