http://llvm.org/bugs/show_bug.cgi?id=17600

Richard Smith <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |[email protected]
         Resolution|---                         |INVALID

--- Comment #2 from Richard Smith <[email protected]> ---
This is a bug in libstdc++. -fsanitize=undefined reports this:

/usr/bin/../lib64/gcc/x86_64-unknown-linux-gnu/4.9.0/../../../../include/c++/4.9.0/bits/regex.tcc:589:25:
runtime error: load of value 248, which is not a valid value for type 'bool'
/usr/bin/../lib64/gcc/x86_64-unknown-linux-gnu/4.9.0/../../../../include/c++/4.9.0/bits/regex.h:2615:7:
runtime error: execution reached the end of a value-returning function without
returning a value

Both of these are undefined behavior, the second is why we emit an ud2
instruction: regex_token_iterator::operator= is missing its 'return *this;'.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to