parenthesis parsing issue

Paul Kapinos kapinos@rz.rwth-aachen.de
Mon Oct 15 17:38:00 GMT 2012


Dear 'gfortran' developer,
Please have a look at the attached example. It cannot be compiled with 
'gfortran' (4.7.2) but it can with another tested compilers (Intel, PGI, 
Oracle/Sun).

Iff the line 13 is commented out and the same (but 2 parenthesis) and [AFAIK] 
equivalent line 14 is commented in, there is no parsing problem.

Reproducing:
------------------------------------------------------------------------------
$ gfortran -c test_klammer2.F90
test_klammer2.F90:13.48:

                    ((nint(pmin_alt(i_komp,i_bz)),"-",nint(pmax_alt(i_komp,i_bz)
                                                 1
Error: Expected a right parenthesis in expression at (1
------------------------------------------------------------------------------
Best,
Paul


-- 
Dipl.-Inform. Paul Kapinos   -   High Performance Computing,
RWTH Aachen University, Center for Computing and Communication
Seffenter Weg 23,  D 52074  Aachen (Germany)
Tel: +49 241/80-24915
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: test_klammer2.F90
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20121015/6fe6eba8/attachment.ksh>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4484 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20121015/6fe6eba8/attachment.p7s>


More information about the Fortran mailing list