http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52585

--- Comment #2 from Tobias Burnus <burnus at gcc dot gnu.org> 2012-03-14 
14:41:05 UTC ---
I think one needs something like the following for both the first and the
second argument.

      if (arg1->expr->symtree->n.sym->attr.proc_pointer
          && arg1->expr->symtree->n.sym->attr.dummy)
        arg1se.expr = build_fold_indirect_ref_loc (input_location,
                                                   arg1se.expr);

Reply via email to