This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/34505] FLOAT/SNGL: Not accepted as actual argument; diagnostics problems
- From: "burnus at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 Dec 2007 09:43:14 -0000
- Subject: [Bug fortran/34505] FLOAT/SNGL: Not accepted as actual argument; diagnostics problems
- References: <bug-34505-13404@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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