This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/28208] New: Use default integer kind instead of hardcoding kind=4
- From: "fxcoudert at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Jun 2006 13:13:00 -0000
- Subject: [Bug fortran/28208] New: Use default integer kind instead of hardcoding kind=4
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
There are lots of (GNU extensions) intrinsics that are hardcoded as returning
integer(kind=4) results, while it would make sense to have them return the
default integer type. This is hardcoded both in the front-end (see for example
gfc_resolve_getpid in iresolve.c) and the library (where the getpid function is
declared as "extern GFC_INTEGER_4 PREFIX(getpid) (void)").
--
Summary: Use default integer kind instead of hardcoding kind=4
Product: gcc
Version: 4.2.0
Status: UNCONFIRMED
Severity: enhancement
Priority: P3
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: fxcoudert at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28208