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] FLOAT/SNGL: Not accepted as actual argument; diagnostics problems



------- Comment #1 from burnus at gcc dot gnu dot org  2007-12-17 09:43 -------
Similarly for the GNU Extension DFLOAT: One should also allow only a default
integer. Similarly to FLOAT is I expect it to be a specific function.

[As FLOAT and SNGL may not be used as actual argument (they are marked with a
dot (*) in the list), one can allow other data types or other kinds as
extension. However, for SNGL only a double precision real is allowed per
g77/gfortran standard, while for FLOAT any kind of integer is allowed according
to the documentation.]


-- 

burnus at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|-std=f*:  FLOAT accepts non-|FLOAT/SNGL: Not accepted as
                   |integers and SNGL non-double|actual argument; diagnostics
                   |precision reals             |problems


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]