https://bugs.llvm.org/show_bug.cgi?id=39233

Richard Smith <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |DUPLICATE
             Status|NEW                         |RESOLVED
                 CC|                            |[email protected]

--- Comment #1 from Richard Smith <[email protected]> ---
This is a bug in your code. There is no guarantee that <iostream> is
initialized before the global initializer for Bar<false>::dummy runs, and it
just so happens that Bar<false>::dummy is initialized before std::cout is
initialized in this case, resulting in your logging output crashing.

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

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to