Hi,
here is a minimal example
#include <iostream>
#include <string>
int main()
{
int a = 2222;
#pragma omp parallel for
for (int i = 0; i < 10000; i++) {
std::cout << a << std::endl;
std::cout << std::to_string(a) << std::endl;
}
}
without archer it prints 2222 all the time with archer to_string prints 4986765
Version:
clang version 3.9.1 (tags/RELEASE_391/final)
Target: x86_64-unknown-linux-gnu