https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97060
--- Comment #9 from Jiri Olsa <jolsa at redhat dot com> --- (In reply to Jakub Jelinek from comment #6) > Also, to avoid confusion, upstream 10 branch is not affected, but in 10-RH > we've backported the PR96383 changes from the trunk. Is this gcc going to RHEL8? that could be a problem for us. Also, is there a way how we can workaround this? How to recgnize function declaration apart from definition in dwarf data?