🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #53248

Does gcc 2.0 support computed gotos?

#53248
From: Mat Hostetter
Date: Fri, 21 Feb 1992 02:38
8 lines
965 bytes
I saw in the GNU status report that "C has been extended to support
nested functions, nonlocal gotos, and taking the address of a label."

Will there be any way to have an array of label-pointers and dispatch to the  
one I want?  (eg, "goto label_array[x]".)  (I basically need a switch that does  
no bounds checking, for a really speed-intensive loop.)

-Mat
Technical Details
Message-ID: <1992Feb21.023817.17703@athena.mit.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!olivea!mintaka.lcs.mit.edu!bloom-picayune.mit.edu!news

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,5fb12b206120b8ea,start
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1992-02-20 18:52:57 PST
Path: arc1-ca.pugleaf.net!sparky!uunet!olivea!mintaka.lcs.mit.edu!bloom-picayune.mit.edu!news
From: mjhostet@slayer.mit.edu (Mat Hostetter)
Newsgroups: gnu.gcc.help
Subject: Does gcc 2.0 support computed gotos?
Message-ID: <1992Feb21.023817.17703@athena.mit.edu>
Date: 21 Feb 92 02:38:17 GMT
Sender: news@athena.mit.edu (News system)
Organization: Massachvsetts Institvte of Technology
Lines: 8
Nntp-Posting-Host: slayer.mit.edu