This is the mail archive of the gcc@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: [tree-ssa] Computed gotos


On Monday 30 June 2003 10:56 pm, Luca Saiu wrote:
> Robert Dewar wrote:
> > I wonder if we are all on the same page here with terminology. What
> > exactly do people mean by a computed goto? I had assumed that they
> > meant the computed goto of Fortran
>
>    And I was talking about the C 'computed goto' GCC extension, as you
> have already understood.
>    I might try to defend myself saying that Fortran has a similar
> construct, but I would just further demonstrate my idiocy :-))).

Yes, me too. The fortran version is called an assigned goto. Some confusion 
is inevitable as Fortran also has a "computed goto", but that's different, 
and trivially translatable into a select statement.

Paul


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