https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104609
Bug ID: 104609
Summary: Add gfortran option to force single-precision
constants to double-precision constants
Product: gcc
Version: 9.2.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: dshi at synopsys dot com
Target Milestone: ---
need gfortran front-end to be enhanced through one option to support non-double
real constants like 1.0 to be treated as double precision when default real
kind is 4 bytes.
This will be helpful to keep consistent behavior like the option '-fpconstant'
of Intel Fortran compiler (description: Tells the compiler that
single-precision constants assigned to double-precision variables should be
evaluated in double precision.)