Re: CFGs vs. "declare variable before use"

torbenm@diku.dk (=?iso-8859-1?q?Torben_=C6gidius_Mogensen?=)
31 May 2005 21:37:19 -0400

          From comp.compilers

Related articles
CFGs vs. "declare variable before use" devriese@cs.tcd.ie (Edsko de Vries) (2005-05-26)
Re: CFGs vs. "declare variable before use" wyrmwif@tsoft.org (SM Ryan) (2005-05-28)
Re: CFGs vs. "declare variable before use" mefrill@yandex.ru (mefrill) (2005-05-28)
Re: CFGs vs. "declare variable before use" torbenm@diku.dk (2005-05-28)
Re: CFGs vs. "declare variable before use" cfc@shell01.TheWorld.com (Chris F Clark) (2005-05-28)
Re: CFGs vs. "declare variable before use" torbenm@diku.dk (2005-05-31)
Re: CFGs vs. "declare variable before use" gah@ugcs.caltech.edu (glen herrmannsfeldt) (2005-05-31)
Re: CFGs vs. "declare variable before use" devriese@cs.tcd.ie (Edsko de Vries) (2005-06-02)
Re: CFGs vs. "declare variable before use" cfc@shell01.TheWorld.com (Chris F Clark) (2005-06-02)
Re: CFGs vs. "declare variable before use" gah@ugcs.caltech.edu (glen herrmannsfeldt) (2005-06-04)
Re: CFGs vs. "declare variable before use" mefrill@yandex.ru (mefrill) (2005-06-04)
Re: CFGs vs. "declare variable before use" mittra@juno.com (Swapnajit Mittra) (2005-06-08)
[1 later articles]
| List of all articles for this month |
From: torbenm@diku.dk (=?iso-8859-1?q?Torben_=C6gidius_Mogensen?=)
Newsgroups: comp.compilers
Date: 31 May 2005 21:37:19 -0400
Organization: Department of Computer Science, University of Copenhagen
References: 05-05-216 05-05-221
Keywords: administrivia
Posted-Date: 31 May 2005 21:37:19 EDT

torbenm@diku.dk (Torben Ęgidius Mogensen) writes:




> CFG's can be used to guarantee that declarations precede use: If the
> declaration dominates every use, then a variable is bound to be
> declared before use. [and more]


In the above, I used CFG to mean "control-flow graph". I realise now
that the original poster asked about context-free graphs. I'm sorry
about the confusion, but hope that the answer was useful to anyway.


                Torben


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.