Warnings on hex constants [Mingw-w64/Cygwin]
Steve Kargl
sgk@troutmask.apl.washington.edu
Mon May 31 01:36:00 GMT 2010
On Mon, May 31, 2010 at 01:32:10AM +0200, Angelo Graziosi wrote:
>
> Now, If I use gfortran-4.3.4 from Cygwin packages or
> gfortran-4.6-20100409 from [2], the warnings are *absent* (same command
> line on same test case).
>
> So, should we expect them at this stage of GCC-4.6 development or what else?
>
What else would you expect given that the F2003 standard states:
If a data-stmt-constant is a boz-literal-constant, the corresponding
variable shall be of type integer. The boz-literal-constant is treated
as if it were an int-literal-constant with a kind-param that specifies
the representation method with the largest decimal exponent range
supported by the processor.
Previous versions of gfortran may not have had the ability
to see the conversion.
--
Steve
More information about the Fortran
mailing list