[LLVMbugs] [Bug 9206] New: Clang does not support gcc-style nested functions

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sun Feb 13 08:17:17 PST 2011


           Summary: Clang does not support gcc-style nested functions
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Frontend
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: reid.kleckner at gmail.com
                CC: llvmbugs at cs.uiuc.edu

Here are the gcc docs for this gnu-tension:

Is this worth supporting in clang and LLVM?  My understanding of the
implementation is that you emit snippet of code to the stack which loads the
address of the parent stack frame and jumps into the nested function.

It seems LLVM already supports trampolines, so this would mostly be frontend

Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

More information about the llvm-bugs mailing list