This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/28068] New: Non-standard intrinsics should be documented
- From: "gay at sfu dot ca" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 16 Jun 2006 23:45:21 -0000
- Subject: [Bug fortran/28068] New: Non-standard intrinsics should be documented
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Recently an ancient program failed to compile because it had a subroutine named
perror. This led to confusing diagnostics about number of arguments. The
problem was fixed by appropriate insertion of EXTERNAL statements.
gfortran appears to define an intrinsic named perror, but this fact is not
documented anywhere that I can see. I suspect there may be other hidden
non-standard intrinsics.
THESE SHOULD BE DOCUMENTED. A lot of time can be wasted tripping over stuff
like this. It would also be nice to have a compiler parameter to turn off
non-standard intrinsics.
--
Summary: Non-standard intrinsics should be documented
Product: gcc
Version: 4.2.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: gay at sfu dot ca
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28068