[Bug fortran/52884] double precision constants promoted to 16 byte by -fdefault-real-8
dominiq at lps dot ens.fr
gcc-bugzilla@gcc.gnu.org
Tue Jan 7 14:25:00 GMT 2014
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52884
Dominique d'Humieres <dominiq at lps dot ens.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
Last reconfirmed| |2014-01-07
Ever confirmed|0 |1
--- Comment #1 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
If I replace kind(1.d0) with kind(1.0_8), I get '8 16 8' with -fdefault-real-8.
I am in favor to replace 'does promote the default width of DOUBLE PRECISION to
16 bytes if possible' with something such as 'does promote the default width of
DOUBLE PRECISION to 16 bytes if possible, as well as double real constants like
1.d0' and 'The kind of real constants like "1.d0"' with 'The kind of real
constants like "1.0_8"'.
More information about the Gcc-bugs
mailing list