This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [tree-ssa] Computed gotos
- From: Segher Boessenkool <segher at koffie dot nl>
- To: Robert Dewar <dewar at gnat dot com>
- Cc: paul at nowt dot org, positrone at freemail dot it, aph at redhat dot com,gcc at gcc dot gnu dot org
- Date: Wed, 02 Jul 2003 16:20:10 +0200
- Subject: Re: [tree-ssa] Computed gotos
- References: <20030701030149.F367AF2A64@nile.gnat.com>
Robert Dewar wrote:
OK, my confusion then sorry. Why on earth is the C version called a computed
goto, that sure is a confused terminology, but I guess one that is familiar
in the GNU C world. I will take off my Fortran hat :-)
The manual says:
"The analogous feature in Fortran is called an assigned goto,
but that name seems inappropriate in C, where one can do more
than simply store label addresses in label variables."
Not that I can see what more that could be (unless undefined
behaviour is allowed).
Segher