https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113182

--- Comment #9 from dave.anglin at bell dot net ---
On 2024-01-09 1:00 p.m., jakub at gcc dot gnu.org wrote:
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113182
>
> --- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
> Note, normally TREE_SYMBOL_REFERENCED should be set through something like
> output_addr_const (or whatever else) -> assemble_name -> assemble_name_resolve
> -> mark_referenced.  Why doesn't trigger that on PA?  Or does it trigger, but
> the assembler requires the externs to be before the calls?
As far as I can tell, mark_referenced() is called for the symbols in question.

I don't believe the assembler requires the externs (.type statments) to be
before the calls.

I have to think issue is with get_identifier().  Will have to do another build
to debug further.

Reply via email to