commit | 271892929a448a2bad2fa83e5652958d1af3f1a4 | [log] [tgz] |
---|---|---|
author | Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> | Sun Mar 25 09:01:23 2007 +0000 |
committer | François-Xavier Coudert <fxcoudert@gcc.gnu.org> | Sun Mar 25 09:01:23 2007 +0000 |
tree | aaa2d1d804beb94ea0e00a7da4806f5163831ac8 | |
parent | cc41ec4ebc020fdf032bb981b5990469649a8926 [diff] |
re PR fortran/30877 (Extending intrinsic operators) PR fortran/30877 * fortran/interface.c (check_operator_interface): Implement the standard checks on user operators extending intrinsic operators. * fortran/resolve.c (resolve_operator): If the ranks of operators don't match, don't error out but try the user-defined ones first. * gfortran.dg/operator_1.f90: New test. * gfortran.dg/operator_2.f90: New test. From-SVN: r123196