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: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to