[Bug c++/112680] g++-13 segfault on std::regex_match with c++11 or above -O2 and lto

2023-11-23 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112680

Jonathan Wakely  changed:

   What|Removed |Added

 Blocks||102445

--- Comment #2 from Jonathan Wakely  ---
It could just be the well known problem of resource exhaustion with our
recursive std::regex implementation.


Referenced Bugs:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102445
[Bug 102445] [meta-bug] std::regex issues

[Bug c++/112680] g++-13 segfault on std::regex_match with c++11 or above -O2 and lto

2023-11-23 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112680

Jonathan Wakely  changed:

   What|Removed |Added

  Component|lto |c++

--- Comment #1 from Jonathan Wakely  ---
ASan shows there's a stack overflow, even without -flto=auto