Closed Quuxplusone closed 9 years ago
Bugzilla Link | PR24048 |
Status | RESOLVED WORKSFORME |
Importance | P normal |
Reported by | prismatic.project@gmail.com |
Reported on | 2015-07-06 18:56:18 -0700 |
Last modified on | 2015-07-11 03:28:53 -0700 |
Version | 3.6 |
Hardware | PC Linux |
CC | david.majnemer@gmail.com, dgregor@apple.com, llvm-bugs@lists.llvm.org, richard-llvm@metafoo.co.uk |
Fixed by commit(s) | |
Attachments | |
Blocks | |
Blocked by | |
See also |
We presumably don't use a guard variable for dynamic initialization of a non-externally-visible static data member, but somehow we manage to emit the initialization multiple times.
David, can I tempt you with this?
I'll take a look.
This doesn't reproduce on trunk for me, I believe r234675 fix this:
Author: Reid Kleckner <reid@kleckner.net>
CommitDate: Sat Apr 11 01:25:36 2015 +0000
Only notify consumers about static data members of class templates once