[LLVMdev] Nested functions

S. Bharadwaj Yadavalli bharadwajy at gmail.com
Wed Mar 4 12:22:06 PST 2009


I get the following error during compilation using the LLVM cross-compiler
(x86_64->arm).

error: nested functions are disabled, use -fnested-functions to re-enable

With -fnested-functions switch, I get the following error:

<llvm-src-dir>/llvm/lib/Target/ARM/ARMISelLowering.cpp:1439: virtual
llvm::SDValue llvm::ARMTargetLowering::LowerOperation(llvm::SDValue,
llvm::SelectionDAG&): Assertion `0 && "Don't know how to custom lower
this!"' failed.
frobos/tests/hello.c:453: internal compiler error: Aborted
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://developer.apple.com/bugreporter> for instructions.

I'd like to investigate this but am wondering if anyone has any
thoughts/suggestions in this area.

Thanks,

Bharadwaj
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090304/8daa55dc/attachment.html>


More information about the llvm-dev mailing list