[LLVMbugs] [Bug 20037] Crash with static std::array in template class

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Jun 13 21:30:18 PDT 2014


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

Richard Smith <richard-llvm at metafoo.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |richard-llvm at metafoo.co.uk
         Resolution|---                         |DUPLICATE

--- Comment #1 from Richard Smith <richard-llvm at metafoo.co.uk> ---
In

  for (auto size : sizes)

... we have a __range variable of type array<size_t, 2>, and we try to call
array<size_t, 1>::begin() on it. Dup of PR14858 (we can't handle sizeof...(T)
inside an alias template).

*** This bug has been marked as a duplicate of bug 14858 ***

-- 
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/20140614/d150ba3d/attachment.html>


More information about the llvm-bugs mailing list