https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103133
Bug ID: 103133
Summary: Binary built with -static using std::thread crashes
Product: gcc
Version: 11.2.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Compo
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102095
Bug ID: 102095
Summary: Returned reference to temporary not caught by
-fsanitize=undefined
Product: gcc
Version: 11.1.1
Status: UNCONFIRMED
Severity: normal
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102084
--- Comment #6 from Sergio Losilla ---
Thank you for taking the time in explaining it, appreciated :-)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102084
--- Comment #4 from Sergio Losilla ---
I see, thanks! The second version (constant_ref) which returns the reference to
the captured does not trigger the sanitizer, so returning a reference to that
is valid?
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102084
Bug ID: 102084
Summary: Segfault when lambda is missing return type
Product: gcc
Version: 11.1.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c+