https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64146
--- Comment #6 from Alan Modra <amodra at gmail dot com> --- Actually, I think you want decl_binds_to_current_def_p rather than binds_local_p.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64146
--- Comment #6 from Alan Modra <amodra at gmail dot com> --- Actually, I think you want decl_binds_to_current_def_p rather than binds_local_p.