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/34505] New: -std=f*: FLOAT accepts non-integers and SNGL non-double precision reals


Per "13.6 Specific names for standard intrinsic functions" (Fortran 2003)

FLOAT is a specific function of REAL which takes as argument
      only a default-kind integer.
SNGL  is a specific function of REAL which takes as argument
      only a double precision real.

Current implementation is that it takes any kind of int/real/complex as REAL
does.


-- 
           Summary: -std=f*:  FLOAT accepts non-integers and SNGL non-double
                    precision reals
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Keywords: accepts-invalid, diagnostic
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: burnus at gcc dot gnu dot org


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


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