[Bug libstdc++/63631] std::regex_match yielding inexplicable garbage; invalid reads in valgrind

meme01 at eaku dot net gcc-bugzilla@gcc.gnu.org
Thu Oct 23 16:59:00 GMT 2014


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63631

KarenRei <meme01 at eaku dot net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|INVALID                     |FIXED

--- Comment #2 from KarenRei <meme01 at eaku dot net> ---


Ugh... thanks. So sregex_iterator->str() yields just a temporary. I'm
surprised, I'd think that'd be a big performance hit. But there must be some
internal reason.

Again,thanks.



More information about the Gcc-bugs mailing list