LLVM Bugzilla is read-only and represents the historical archive of all LLVM issues filled before November 26, 2021. Use github to submit LLVM bugs

Bug 1391 - [dragonegg] non-local gotos not supported
Summary: [dragonegg] non-local gotos not supported
Status: REOPENED
Alias: None
Product: dragonegg
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: trunk
Hardware: All All
: P enhancement
Assignee: Duncan Sands
URL:
Keywords: missing-feature
Depends on:
Blocks:
 
Reported: 2007-05-05 16:46 PDT by Chris Lattner
Modified: 2010-12-08 16:30 PST (History)
3 users (show)

See Also:
Fixed By Commit(s):


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Lattner 2007-05-05 16:46:53 PDT
This is needed for full nested function support.  Here is a testcase:

main()
{
  __label__ l;

  void*x()
  {
    goto l;
  }

  x();
  abort();
  return;
l:
  exit(0);
}
Comment 1 Chris Lattner 2010-12-02 01:17:38 PST
Noone cares, and clang won't support nested functions.
Comment 2 Duncan Sands 2010-12-02 01:56:05 PST
Moving to dragonegg.