This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/60687] [4.8.0] Infinite loop compiling recursive templates indirectly by local class in function
- From: "jolfzverb at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 28 Mar 2014 19:05:45 +0000
- Subject: [Bug c++/60687] [4.8.0] Infinite loop compiling recursive templates indirectly by local class in function
- Auto-submitted: auto-generated
- References: <bug-60687-4 at http dot gcc dot gnu dot org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60687
Yury Usishchev <jolfzverb at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jolfzverb at gmail dot com
--- Comment #2 from Yury Usishchev <jolfzverb at gmail dot com> ---
Created attachment 32479
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=32479&action=edit
Reduced testcase
The loop is not infinite, eventually(after 30 minutes for my workstation) build
fails with error:
main.cpp:35:60: error: template instantiation depth exceeds maximum of 900
you can use -ftemplate-depth=100 to achieve it faster.