https://llvm.org/bugs/show_bug.cgi?id=23685
Nick Lewycky <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |[email protected] Resolution|--- |INVALID --- Comment #3 from Nick Lewycky <[email protected]> --- I get: pr23685.cc:10:50: fatal error: recursive template instantiation exceeded maximum depth of 256 template <int n = 0, uint8_t ...d> struct Calc : Calc<n + 1, d..., Solve(n, 0)> ^ Your run script shows [...] "-ftemplate-depth" "101900". Yes, clang will recurse and eat up stack space, those recursion depth limits are there to turn these into crashes into fatal errors. If you set them to very large values, clang will crash instead. -- You are receiving this mail because: You are on the CC list for the bug.
_______________________________________________ LLVMbugs mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs
