[LLVMbugs] [Bug 18345] New: Template recursion issue with boost and std::__1::__make_tuple_types_imp

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Dec 30 05:27:41 PST 2013


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

            Bug ID: 18345
           Summary: Template recursion issue with boost and
                    std::__1::__make_tuple_types_imp
           Product: libc++
           Version: unspecified
          Hardware: PC
                OS: FreeBSD
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: hhinnant at apple.com
          Reporter: alex323 at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Created attachment 11799
  --> http://llvm.org/bugs/attachment.cgi?id=11799&action=edit
Test program fails to compile with SIZE set to 1024, but succeeds with SIZE 100

Hello. The attached program does not compile on the following platform:

FreeBSD 10.0-RC3 #4 r260027
FreeBSD clang version 3.3 (tags/RELEASE_33/final 183502) 20130610
Boost 1.55.0

but it works with gcc 4.8. If you set SIZE to 100 it compiles, but if you set
SIZE to 1024, it fails to compile and gives this error message:

/usr/include/c++/v1/array:295:24: fatal error: recursive template instantiation
exceeded maximum depth of 256

I posted a thread about it on the cfe-dev mailing list, and it was suggested[0]
that I file a bug report here.

---
[0] http://lists.cs.uiuc.edu/pipermail/cfe-dev/2013-December/034312.html

-- 
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/20131230/c83687ae/attachment.html>


More information about the llvm-bugs mailing list