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/33849] Fix misleading error message "GENERIC non-INTRINSIC procedure not allowed as an actual argument"



------- Comment #7 from burnus at gcc dot gnu dot org  2007-10-23 21:57 -------
(In reply to comment #6)
> The test case generic_actual_arg.f90 fails because the "dg-error" has not been
> adjusted:
> /opt/gcc/_gcc-clean/gcc/testsuite/gfortran.dg/generic_actual_arg.f90:21.7:
> CALL F(CALCULATION) ! { dg-error "GENERIC non-INTRINSIC procedure" } 
>       1
> Error: GENERIC procedure 'calculation' is not allowed as an actual argument at
> (1)

Regression testing sometimes helps ;-)

I will fix this unless Jerry beats me.


-- 


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


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