[Bug fortran/52884] double precision constants promoted to 16 byte by -fdefault-real-8
jvdelisle at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Apr 11 01:28:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52884
Jerry DeLisle <jvdelisle at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jvdelisle at gcc dot gnu.org
--- Comment #3 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> ---
May I suggest the following wording:
-fdefault-real-8
Set the default real type to an 8 byte wide type. This option
also affects the kind of non-double real constants like 1.0.
This option promotes the default width of DOUBLE PRECISION
and double real constants like 1.d0 to 16 bytes if possible.
If -fdefault-double-8 is given along with -fdefault-real-8,
DOUBLE PRECISION and double real constants are not promoted.
Note, -fdefault-real-8, does not promote variables with explicit
kind declarations.
-fdefault-double-8
Set the DOUBLE PRECISION type to an 8 byte wide type. Do nothing
if this is already the default. This option prevents -fdefault-real-8
from promoting DOUBLE PRECISION and double real constants like 1.d0
to 16 bytes.
More information about the Gcc-bugs
mailing list