This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/28378] Intrinsic extensions should be deselectable via command line



------- Comment #3 from jkrahn at nc dot rr dot com  2008-05-13 17:05 -------
This is an important to fix. I just ran into problems from this. Gfortran is
supposed to aim for standards conformance, but vendor extensions are not
supposed to break valid code. I think this behavior is a Standards violation,
and really should be a BUG and not just an enhancement.

This is mainly a problem with intrinsic subroutines, because non-intrinsic
functions require an EXTERNAL declaration, and automatically override intrinsic
functions. This is also the main reason the INTRINSIC declaration exists.
Without it, Gfortran should assume that it is an external subroutine, not an
intrinsic. Some F77 compilers make the selection automatic by letting the
linker find the user's subroutine first, and then link to one in a Fortran
extension library if not found.


-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]