https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123612
--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Created attachment 63664 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=63664&action=edit gcc16-pr123612.patch Ok, in that case a lightly tested patch (so far tested just on reflect/*) which creates reflections of DECL_LOCAL_DECL_ALIAS for DECL_LOCAL_DECL_P (aka the block scope externs) and remembers for the block scope externs what parameters had there default arguments. Don't know about that decltype ([:^^a:]) case, whether it should be a reference or not.
