[Bug c++/113579] GCC leaks memory inside when using statement expressions

2025-02-07 Thread sjdutoit at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113579 --- Comment #3 from Stefanus Du Toit --- This bug affects us as well. I believe the relevant part of the documentation is: > Jumping out of a statement expression is permitted, but if the statement > expression is part of a larger expression t

[Bug c++/113579] GCC leaks memory inside when using statement expressions

2024-01-24 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113579 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org --- Comment

[Bug c++/113579] GCC leaks memory inside when using statement expressions

2024-01-24 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113579 --- Comment #1 from Richard Biener --- I think we somewhere document that control transfer into / out of stmt expressions invokes undefined behavior.