This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [tree-ssa] Removal of gotos from cfg based ir
- From: law at redhat dot com
- To: Richard Henderson <rth at redhat dot com>
- Cc: Andrew MacLeod <amacleod at redhat dot com>, Jan Hubicka <jh at suse dot cz>, Jason Merrill <jason at redhat dot com>, Zdenek Dvorak <rakdver at atrey dot karlin dot mff dot cuni dot cz>, Diego Novillo <dnovillo at redhat dot com>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Fri, 14 Nov 2003 17:13:19 -0700
- Subject: Re: [tree-ssa] Removal of gotos from cfg based ir
- Reply-to: law at redhat dot com
In message <20031114211322.GE28319@redhat.com>, Richard Henderson writes:
>> and it seems like a restriction to force entry into RTL to have a CFG
>> already created. I dont think the front end and the back end ought to
>> be that tightly coupled...
>
>Ah hah, that's a point of disconnect. The front end should only
>call tree_rest_of_compilation, and then *everything* happens there
>behind the scenes. This is, shockingly, a vast improvement over
>the situation on mainline.
And, so with this in mind, what state should we be passing to
to the tree_rest_of_compilation routine.
Today, we have the IL, EH lookaside data and probably other data I
don't want to think about stored in global structures like the symbol
table.
With Zdenek's change, the passed state would include the CFG.
Jeff