This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/52884] double precision constants promoted to 16 byte by -fdefault-real-8
- From: "dominiq at lps dot ens.fr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 07 Jan 2014 14:25:30 +0000
- Subject: [Bug fortran/52884] double precision constants promoted to 16 byte by -fdefault-real-8
- Auto-submitted: auto-generated
- References: <bug-52884-4 at http dot gcc dot gnu dot org/bugzilla/>
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"'.