On 13 February 2015 at 13:46, Paweł Tomulik wrote:
> Hi,
>
> the header file  <bits/regex.h> is missing return statement in the
> implementation of basic_regex::assign(basic_regex&&). This is about line
> 619. The minimal example to reproduce this bug is the following:
>
> #include <regex>
> int main()
> {
>   std::regex re;
>   re.assign(std::regex("blabla"));
>   return EXIT_SUCCESS;
> }
>
> When compiled with clang and run it produces SIGILL:
>
> ptomulik@tea:$ clang++ -std=c++11 -g -O0 -o test test.cpp
> ptomulik@tea:$ ./test
>
> I attach patch created with git against the "gcc-4_9_2-release" tag.

Thank you - patches should be sent to the gcc-patches list not this
one, and patches for libstdc++ should be CC'd to that list.

Reply via email to