This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: ran intrinsic bug?
On Sat, Feb 26, 2005 at 03:34:47PM -0800, Jerry DeLisle wrote:
> Steve Kargl wrote:
> >
> >Is this what you're expecting?
> >
> Yes, I believe so and I am getting his now. The first time I added the
> external statement to the top of the main program and it did not work,
> so I moved it to the matgen subroutine and that works fine. Not exactly
> g77 compatible because of the gfortran intrinsic, but not difficult to
> fix at the application level.
>
> I am wondering if there should be a way to "hide" non g77 intrinsics so
> people do not have to edit old codes. It is coincidental that this
> program just happened to use a name that is used by a gfortran
> intrinsic. The compiler can not be omniscient :) or can it?
>
-std=f95 will ignore all non-standard intrinsic procedures.
The default is -std=gnu, which makes all intrinsics available.
Note, a procedure is either intrinsic or external; it can't be
both. See my recent posts with regard to iargc.
--
Steve