------- Comment #13 from janus at gcc dot gnu dot org  2009-08-22 09:19 -------
(In reply to comment #12)
> @@ -3512,8 +3513,7 @@ gfc_get_proc_ptr_comp (gfc_se *se, gfc_e
>    e2 = gfc_copy_expr (e);
>    e2->expr_type = EXPR_VARIABLE;
>    gfc_conv_expr (&comp_se, e2);
> -  comp_se.expr = build_fold_addr_expr_loc (input_location, comp_se.expr);
> -  return gfc_evaluate_now (comp_se.expr, &se->pre);  
> +  return build_fold_addr_expr_loc (input_location, comp_se.expr);
>  }

This seems to work in practice, but I think the dump looks not quite right for
the PPC call. Dominique, can you post your dump for comment #4 (especially the
call to o%f)?

Btw, I have a patch for the remaining trouble in comment #4 and #11.


-- 

janus at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |janus at gcc dot gnu dot org
                   |dot org                     |
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2009-08-22 09:19:15
               date|                            |


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

Reply via email to