[Bug c++/100468] set_up_extended_ref_temp via extend_ref_init_temps_1 drops TREE_ADDRESSABLE

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri May 7 11:11:27 GMT 2021


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100468

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Though it is static and what you're talking about is making automatic into
static.  So guess we would need automatic temporary with something like { 1, 2,
3 } initializer and have reference bind to that temporary.
My C++-fu is limited.


More information about the Gcc-bugs mailing list