http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50535
Bug #: 50535
Summary: transformational intrinsic functions not allowed in
statement functions
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
AssignedTo: [email protected]
ReportedBy: [email protected]
! transformational intrinsic functions not allowed in statement functions
! (r178939)
logical g,l(2)
! gfortran should complain because all() is transformational
g(x)=all(l)
end