-
- Downloads
re PR fortran/51791 ([OOP] Failure to resolve typebound function call with...
re PR fortran/51791 ([OOP] Failure to resolve typebound function call with base object in parentheses.) 2012-01-09 Paul Thomas <pault@gcc.gnu.org> PR fortran/51791 * interface.c (matching_typebound_op): Drill down through possible parentheses to obtain base expression. Do not test for 'class_ok' but, instead for the class structure components. * resolve.c (resolve_ordinary_assign): Extend error message for polymorphic assignment to advise checking for specific subroutine. PR fortran/51792 * resolve.c (resolve_typebound_function): Restore 'static' to declaration. 2012-01-09 Paul Thomas <pault@gcc.gnu.org> PR fortran/51791 * gfortran.dg/typebound_operator_7.f03: Insert parentheses around base object in first assignment in main program. * gfortran.dg/typebound_operator_10.f03: New test. From-SVN: r183032
Showing
- gcc/fortran/ChangeLog 14 additions, 0 deletionsgcc/fortran/ChangeLog
- gcc/fortran/interface.c 5 additions, 1 deletiongcc/fortran/interface.c
- gcc/fortran/resolve.c 4 additions, 3 deletionsgcc/fortran/resolve.c
- gcc/testsuite/ChangeLog 7 additions, 0 deletionsgcc/testsuite/ChangeLog
- gcc/testsuite/gfortran.dg/typebound_operator_10.f03 29 additions, 0 deletionsgcc/testsuite/gfortran.dg/typebound_operator_10.f03
- gcc/testsuite/gfortran.dg/typebound_operator_7.f03 1 addition, 1 deletiongcc/testsuite/gfortran.dg/typebound_operator_7.f03
Loading
Please register or sign in to comment