GFortran allows the kill subroutine to have array arguments for the first two arguments, but it appears to me that libgfortran doesn't handle them as arrays. Thus, I believe the following little code should error out, but it doesn't:
program kill1 call kill((/99999, 99998/), (/0, 0/)) end If I'm correct in claiming this as a bug, it can be fixed by putting checks in check.c: gfc_check_kill_sub. -- Summary: kill suboutine accepts (invalid) array arguments. 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: brooks at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30371