[LLVMbugs] [Bug 10866] New: template static const is not always initialized
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Mon Sep 5 13:23:03 PDT 2011
http://llvm.org/bugs/show_bug.cgi?id=10866
Summary: template static const is not always initialized
Product: clang
Version: 2.9
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: C++
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: adriano.mitre at gmail.com
CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com
Created an attachment (id=7222)
--> (http://llvm.org/bugs/attachment.cgi?id=7222)
example showing the bug and how to work around it
A template static constant is not always initialized as it should. This
behaviour deviates from g++'s. An example is attached which produces incorrect
behaviour unless WORKAROUND{1,2} is defined (see comment in the beginning of
the source).
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the llvm-bugs
mailing list