Displaying 1 result from an estimated 1 matches for "lotniczej".
2015 Feb 13
2
[LLVMdev] SIGILL in regex::assign()
Hi, I have this simple program:
#include <regex>
int main()
{
std::regex re;
re.assign(std::regex("foo")); // SIGILL
return 0;
}
It runs smoothly if compiled with g++ but raises "illegal instruction"
when compiled with clang++:
g++ -std=c++11 -O0 -g -o test-g++ test.cpp
clang++ -std=c++11 -O0 -g -o test-clang++ test.cpp
ptomulik at barakus:$ ./test-g++
ptomulik