aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/gcc-interface/utils.c
diff options
context:
space:
mode:
authorJanus Weil <janus@gcc.gnu.org>2009-08-25 16:26:44 +0200
committerJanus Weil <janus@gcc.gnu.org>2009-08-25 16:26:44 +0200
commit23878536a6b359865599d300c214bbb8fef83a43 (patch)
tree3af99476a57f873526e5deb43b0c56abfcee584b /gcc/ada/gcc-interface/utils.c
parent4df62c77fe216dd68b85f09d20910203e035efb2 (diff)
downloadgcc-23878536a6b359865599d300c214bbb8fef83a43.zip
gcc-23878536a6b359865599d300c214bbb8fef83a43.tar.gz
gcc-23878536a6b359865599d300c214bbb8fef83a43.tar.bz2
re PR fortran/41139 (a procedure pointer call as actual argument)
2009-08-25 Janus Weil <janus@gcc.gnu.org> PR fortran/41139 * primary.c (gfc_match_varspec): Make sure EXPR_PPC is only used for calls to procedure pointer components, other references to procedure pointer components are EXPR_VARIABLE. * resolve.c (resolve_actual_arglist): Bugfix (there can be calls without actual arglist). * trans-expr.c (gfc_get_proc_ptr_comp): Renamed to 'get_proc_ptr_comp', removed argument 'se' and made static. Avoid inserting a temporary variable for calling the PPC. (conv_function_val): Renamed gfc_get_proc_ptr_comp. (gfc_conv_procedure_call): Distinguish functions returning a procedure pointer from calls to a procedure pointer. Distinguish calls to procedure pointer components from procedure pointer components as actual arguments. * trans-stmt.h (gfc_get_proc_ptr_comp): Make it static. 2009-08-25 Janus Weil <janus@gcc.gnu.org> PR fortran/41139 * gfortran.dg/proc_ptr_25.f90: New. * gfortran.dg/proc_ptr_comp_18.f90: New. * gfortran.dg/proc_ptr_comp_19.f90: New. From-SVN: r151081
Diffstat (limited to 'gcc/ada/gcc-interface/utils.c')
0 files changed, 0 insertions, 0 deletions