[Bug c++/103133] New: Binary built with -static using std::thread crashes

2021-11-08 Thread loximann at gmail dot com via Gcc-bugs
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

[Bug sanitizer/102095] New: Returned reference to temporary not caught by -fsanitize=undefined

2021-08-27 Thread loximann at gmail dot com via Gcc-bugs
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

[Bug c++/102084] Segfault when lambda is missing return type

2021-08-26 Thread loximann at gmail dot com via Gcc-bugs
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 :-)

[Bug c++/102084] Segfault when lambda is missing return type

2021-08-26 Thread loximann at gmail dot com via Gcc-bugs
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?

[Bug c++/102084] New: Segfault when lambda is missing return type

2021-08-26 Thread loximann at gmail dot com via Gcc-bugs
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+