[LLVMbugs] [Bug 16662] Segmentation fault caused by recursive template instantiations

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Jul 19 10:45:27 PDT 2013


http://llvm.org/bugs/show_bug.cgi?id=16662

Richard Smith <richard-llvm at metafoo.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |richard-llvm at metafoo.co.uk
         Resolution|---                         |INVALID

--- Comment #1 from Richard Smith <richard-llvm at metafoo.co.uk> ---
One of the reasons we have -ftemplate-depth is to prevent stack overflow during
deeply nested template instantiation. By turning that off, you've turned off
the protection against stack overflow, so you get stack overflow.

If you want this to work try increasing your stack ulimit.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20130719/be7e884f/attachment.html>


More information about the llvm-bugs mailing list