[LLVMbugs] [Bug 19035] Explicit instantiated variable template leads to miscompile

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Mar 4 10:55:19 PST 2014


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

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

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

--- Comment #1 from Richard Smith <richard-llvm at metafoo.co.uk> ---
'template<>' is an explicit specialization, not an explicit instantiation, and
is overriding the initializer with default-initialization, which gives you the
zero value.

-- 
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/20140304/0d6ea184/attachment.html>


More information about the llvm-bugs mailing list