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

--- Comment #8 from anlauf at gcc dot gnu.org ---
Created attachment 61187
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61187&action=edit
Partial patch

This is a partial patch that addresses the reduced testcase.
However, it does not fix the full problem with proc_ptr_52.f90, and it has
a cosmetic issue in the tree dump ("ppr@"), which results from the attempt
to fix NULL pointer dereferences in gfc_generate_function_code by looking
at sym->result and passing this also to gfc_get_fake_result_decl.

Reply via email to