https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52202
--- Comment #5 from Jens Maurer <jens.maurer at gmx dot net> --- Core issue 1299 resolved via http://wg21.link/p0727 does in fact lifetime-extend the temporary in the example. This bug report should therefore be closed without action. (If a test case is missing that lifetime-extension does happen, the example code can have its "abort" condition reversed to suit that purpose.)