[Bug c++/97435] Lifetime of temporaries not correctly extending when optiimzation are enabled
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97435 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---
[Bug c++/97435] Lifetime of temporaries not correctly extending when optiimzation are enabled
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97435 --- Comment #1 from Richard Biener --- I believe the A(5) object doesn't live beyond the stmts lifetime and thus this is invalid.