------- Comment #2 from mick at nag dot co dot uk 2009-05-06 08:45 ------- (In reply to comment #1) > I think this is not a valid Fortran program. >
The main program is illegal because it passes a REAL array argument to a subroutine expecting DOUBLE PRECISION array. However, the subroutine SMALL is not illegal, but causes bad code to be generated. The main program is only present for easy demonstration of the bug in SMALL. Mick Pont -- mick at nag dot co dot uk changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |UNCONFIRMED Resolution|INVALID | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40037