[Bug fortran/33412] New: Bind(C): ELEMENTAL procedure conflicts with BIND(C)
burnus at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Sep 12 20:17:00 GMT 2007
C1242 (R1227) A prefix shall not specify ELEMENTAL if
proc-language-binding-spec appears in the function-stmt or subroutine-stmt.
NAG f95:
Error: z.f90, line 1: BIND(C) is not allowed for elemental procedure A
Example:
elemental function a(b) bind(c)
use iso_c_binding
real(c_float) :: a, b
intent(in) :: b
a = b
end function a
--
Summary: Bind(C): ELEMENTAL procedure conflicts with BIND(C)
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Keywords: accepts-invalid
Severity: normal
Priority: P3
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: burnus at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33412
More information about the Gcc-bugs
mailing list