Related articles |
---|
[19 earlier articles] |
Re: Using C as a back end zs@ender.cs.mu.oz.au (2000-10-31) |
Re: Using C as a back end thp@cs.ucr.edu (Tom Payne) (2000-10-31) |
Re: Using C as a back end engler@Stanford.EDU (2000-10-31) |
Re: Using C as a back end anton@mips.complang.tuwien.ac.at (2000-10-31) |
Re: Using C as a back end joachim_d@gmx.de (Joachim Durchholz) (2000-10-31) |
Re: Using C as a back end conway@ender.cs.mu.oz.au (2000-11-01) |
Re: Using C as a back end kst@cts.com (Keith Thompson) (2000-11-01) |
Re: Using C as a back end rhyde@cs.ucr.edu (Randall Hyde) (2000-11-01) |
Re: Using C as a back end rhyde@cs.ucr.edu (Randall Hyde) (2000-11-01) |
Re: Using C as a back end vbdis@aol.com (2000-11-04) |
Re: Using C as a back end joachim_d@gmx.de (Joachim Durchholz) (2000-11-04) |
Re: Using C as a back end thp@roam-thp2.cs.ucr.edu (Tom Payne) (2000-11-04) |
Re: Using C as a back end gneuner@dyn.com (2000-11-04) |
[3 later articles] |
From: | Keith Thompson <kst@cts.com> |
Newsgroups: | comp.compilers |
Date: | 1 Nov 2000 18:35:32 -0500 |
Organization: | CTSnet Internet Services |
References: | 00-10-148 00-10-154 00-10-212 00-10-225 |
Keywords: | C, comment |
Posted-Date: | 01 Nov 2000 18:35:32 EST |
In an article by zs@ender.cs.mu.oz.au (Zoltan Somogyi), our
illustrious moderator inserted:
> [I think you mean assigned goto's, not computed ones. A computed goto
> takes an integer index into a fixed array of labels and jumps to one
> of them, something you can easily fake with a switch containing gotos.
> An assigned goto is jump via a variable, which I agree that standard C
> doesn't permit. -John]
The gcc documentation (gcc.info) uses the phrase "computed goto" to
refer to a jump via a variable, what you call an "assigned goto". I
make no claims about whose terminology is correct; I merely observe
that not everyone uses the terms the same way.
--
Keith Thompson (The_Other_Keith) kst@cts.com <http://www.ghoti.net/~kst>
San Diego Supercomputer Center <*> <http://www.sdsc.edu/~kst>
[Sigh. First "thunk", now "computed GOTO", next it'll be "Fortran". Oh
wait, it already happened. -John]
Return to the
comp.compilers page.
Search the
comp.compilers archives again.