This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/67212] Infinite recurtion in std::regex_match
- From: "timshen at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 14 Aug 2015 17:54:11 +0000
- Subject: [Bug libstdc++/67212] Infinite recurtion in std::regex_match
- Auto-submitted: auto-generated
- References: <bug-67212-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67212
--- Comment #2 from Tim Shen <timshen at gcc dot gnu.org> ---
This isn't an "infinite" recursion, but just a deep one. I haven't implement
heap allocation and manual recursion yet. In the mean time, you may compile
your code with -O2 (tail recursion elimination may help), set a larger stack
size, or use -fsplit-stack.