https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104436
Martin Sebor <msebor at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |msebor at gcc dot gnu.org --- Comment #1 from Martin Sebor <msebor at gcc dot gnu.org> --- It seems that DECL_BY_REFERENCE(fndecl) might be able to tell us if the argument is a "fake reference" that the by-value argument is substituted for. Let me see if that works.