------- Comment #6 from kargl at gcc dot gnu dot org  2006-03-27 00:08 -------
I have a patch for this problem.  It implements a new flag that
prevents gfortran's enforcement of the Standard with respect to
gfortran's rich set of intrinsics.

program z
   if (iargc() /= 0) call abort
end program z

kargl[227] gfc4x -o z iargc.f90
kargl[228] gfc4x -o z -fall-intrinsics -std=f95 iargc.f90
kargl[229] gfc4x -o z -std=f95 iargc.f90
/var/tmp/ccqDOkrX.o(.text+0x18): In function `MAIN__':
: undefined reference to `iargc_'
collect2: ld returned 1 exit status

I'll post the patch tomorrow.

Harald, does this satisfy your needs?


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20248

Reply via email to