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/28208] New: Use default integer kind instead of hardcoding kind=4


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


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