This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/52585] Wromg result for ASSOCIATED with dummy procedure pointer


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);


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]