[Bug fortran/30372] various intrinsics do not diagnose invalid argument kinds

tkoenig at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sun Jul 19 15:53:54 GMT 2020


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=30372

Thomas Koenig <tkoenig at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tkoenig at gcc dot gnu.org

--- Comment #18 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
mode_t has at least 12 bits, so an 8-bit integer argument for umask
makes little sense (and should probably be rejected).  On Linux,
mode_t is an unsigned int, 32 bits.

Personally, I would probably reject anything that is not a default integer,
but part of the fun of being a gfortran developer is that you can
chose yourself (within reason :-).


More information about the Gcc-bugs mailing list