From: "Lars O. Hansen" Newsgroups: comp.os.msdos.djgpp Subject: Re: dynamic gotos possible with djgpp? Date: Sat, 21 Dec 2002 17:10:08 +0100 Organization: 1&1 Internet AG Lines: 15 Message-ID: References: NNTP-Posting-Host: p5083884a.dip0.t-ipconnect.de X-Trace: news.online.de 1040487006 3568 80.131.136.74 (21 Dec 2002 16:10:06 GMT) X-Complaints-To: abuse AT online DOT de NNTP-Posting-Date: 21 Dec 2002 16:10:06 GMT X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com > int main(void) > { > void *f = &&mylabel; > goto *f; > printf("hello\n"); > mylabel: > return 0; > } thanks, I also have a look at http://gcc.gnu.org/onlinedocs/gcc-3.2/gcc/C-Extensions.html#C%20Extensions and http://gcc.gnu.org/onlinedocs/gcc-3.2/gcc/Labels-as-Values.html#Labels%20as%20Values