https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116277
--- Comment #3 from Frank Heckenbach <f.heckenb...@fh-soft.de> --- When 63446 was reported, gcc didn't have -Werror=dangling-reference, so a false positive was perhaps better than no warning in this case back then. Now it has the proper warning for this case.