------- Comment #4 from pault at gcc dot gnu dot org 2006-06-22 18:26 -------
> > we should check that an elemental function doesn't return a pointer.
a pointer already yields:
INTEGER, pointer :: MM ! should be scalar
1
Error: POINTER attribute conflicts with ELEMENTAL attribute at (1)
In file pr20874.f90:3
I have duly removed the check on rank and, of course, all works fine.
Thanks - I will submit tomorrow am.
Paul
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20874
