[LLVMbugs] [Bug 22378] Segment fault with deep constexpr recursion

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Jan 30 10:09:53 PST 2015


Reid Kleckner <rnk at google.com> changed:

           What    |Removed                     |Added
             Status|REOPENED                    |RESOLVED
                 CC|                            |rnk at google.com
         Resolution|---                         |INVALID

--- Comment #3 from Reid Kleckner <rnk at google.com> ---
Diagnosing every form of resource exhaustion is infeasible. For example, it is
possible to provide C++ source input that causes exponential heap memory usage
with templates. Eventually the process will crash, and we don't want to be in
the business of diagnosing that. Instead, we just have some simple safety
checks for "too much instantiation" and "too much constexpr" to improve the
user experience in common cases.

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/20150130/0bb76d7c/attachment.html>

More information about the llvm-bugs mailing list