Just for historical record for anyone who search this, I was able to
reproduce this with clang 4, 5 and 6.
I can only assume it is an issue with the version of libstdc++-dev
pushed to 16.04.03.
Running the resulting executable always triggers a segmentation fault
with -03 but runs correctly without.
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
clang++ regex_replace always segfaults with -O3
To manage notifications about this bug go to:
ubuntu-bugs mailing list