Warnings on hex constants [Mingw-w64/Cygwin]

Angelo Graziosi angelo.graziosi@alice.it
Mon May 31 16:32:00 GMT 2010


Il 31/05/2010 18.15, Steve Kargl ha scritto:
> On Mon, May 31, 2010 at 05:56:28PM +0200, Angelo Graziosi wrote:
>> Il 31/05/2010 17.10, Steve Kargl ha scritto:
>>>
>>> If you insist on BOZ, then try
>>>
>>> PROGRAM  test_iand
>>>    INTEGER, SAVE :: a, b
>>>    a = int(Z'F')
>>>    b = int(Z'3')
>>>    WRITE  (*,*)  IAND(a,  b)
>>> END PROGRAM test_iand
>>>
>>> laptop:kargl[239] gfc4x -o z -Wall q.f90
>>> laptop:kargl[240] ./z
>>>             3
>>>
>
>> or this:
>>
>> PROGRAM test_iand
>>    INTEGER :: a = int(Z'F'),b = int(Z'3')
>>    WRITE(*,*) IAND(a,b)
>> END PROGRAM test_iand
>>
>
> These programs are essentially the same thing.
>
>> Perhaps the above examples should substitute that at page 116 of the
>> cited manual (see above).
>
> Feel free to open a bug report.  If you have assignment
> paperwork on file FSF, attach a patch. :)
>

I haven't, but the patch is attached :-)

Ciao,
Angelo.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: gfortran-intrinsic.texi.patch
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20100531/14c417b2/attachment.ksh>


More information about the Fortran mailing list