https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91497
--- Comment #7 from Manfred Schwarb <manfred99 at gmx dot ch> ---
Hopefully this rings some bells: The warnings happen
only for parameters:
real b
double precision a,c,d
PARAMETER(a=3.1415927d0)
DATA c /3.1415927d0/
d=3.1415927d0
b=REAL(a)
b=REAL(a, kind=4)
b=REAL(c)
b=REAL(d)
end
a.f:8:13:
8 | b=REAL(a)
| 1
Warning: Change of value in conversion from 'REAL(8)' to 'REAL(4)' at (1)
[-Wconversion]
a.f:9:13:
9 | b=REAL(a, kind=4)
| 1
Warning: Change of value in conversion from 'REAL(8)' to 'REAL(4)' at (1)
[-Wconversion]
Thanks for your efforts!