This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [gomp] parallel binding reorg


On September 27, 2005 20:03, Richard Henderson wrote:
> As promised.
>
Cool.

So, what would happen if I now want to gimplify the parallel bodies so 
that I can build a CFG and do concurrent analysis on it?  Before we 
couldn't because the bloody thing was all missing the right 
DECL_CONTEXT.

Now, the DECLs will all get thrown to the parent's context, but we 
should still be able to do the lowering afterwards, right?

> And to make things worse, the child function has not been +  
> gimplified, so we can't use walk_stmts.  */
>
Hmm?  What is missed by walk_stmts?

> +static void
> +lower_omp_1 (tree *stmt_p)
>
Likewise.  Why not walk_stmts?  It will take you to all the spots that 
you want to be taken.  Looks as if we're working too hard here.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]