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.
https://bugs.launchpad.net/bugs/1748344

Title:
  clang++ regex_replace always segfaults with -O3

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/llvm-defaults/+bug/1748344/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to