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

--- Comment #2 from Tobias Burnus <burnus at gcc dot gnu.org> 2010-11-05 
09:25:12 UTC ---
(In reply to comment #1)
> With an unpatched trunk, I get an error in both cases:

> Error: PROCEDURE attribute conflicts with INTENT attribute in 'f' at (1)

That makes sense; thus, either remove INTENT(IN) from or add POINTER to the
example. Sorry for the wrong/incomplete example.

(I can reproduce the result - and seemingly missed the recompile with gfortran
after the modification (needed for NAG 5.1); with NAG the intended error hides
the INTENT error.)

Reply via email to