[LLVMbugs] [Bug 14631] template-based global variables are not initialized properly

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Dec 18 00:52:26 PST 2012


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

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> 2012-12-18 02:52:26 CST ---
The initialization of an implicitly-instantiated static data member of a class
template is unsequenced. Clang's result is correct, as is g++'s.

-- 
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