[GOMP4, OpenACC] Fixed-form Fortran code failing to parse
Thomas Schwinge
thomas@codesourcery.com
Fri Jul 4 08:40:00 GMT 2014
Hi!
On Wed, 02 Jul 2014 14:53:19 +0200, I wrote:
> I understand the attached fixed.f to be well-formed fixed-form Fortran
> code, but it fails to parse in OpenACC mode:
The legacy of Fortran ;-) strikes again:
$ gcc/xgcc -Bgcc/ -Bx86_64-unknown-linux-gnu/lib{gomp,gfortran}/ -Bx86_64-unknown-linux-gnu/lib{gomp,gfortran}/.libs -Ix86_64-unknown-linux-gnu/lib{gomp,gfortran} -I../source/lib{gomp,gfortran} -Lx86_64-unknown-linux-gnu/lib{gomp,gfortran}/.libs -Wl,-rpath,"$PWD"/x86_64-unknown-linux-gnu/lib{gomp,gfortran}/.libs ../../fixed-3.f -fopenacc -c
../../fixed-3.f:7.6:
*$ACC END PARALLEL
1
Error: Unclassifiable OpenACC directive at (1)
..., and again:
$ gcc/xgcc -Bgcc/ -Bx86_64-unknown-linux-gnu/lib{gomp,gfortran}/ -Bx86_64-unknown-linux-gnu/lib{gomp,gfortran}/.libs -Ix86_64-unknown-linux-gnu/lib{gomp,gfortran} -I../source/lib{gomp,gfortran} -Lx86_64-unknown-linux-gnu/lib{gomp,gfortran}/.libs -Wl,-rpath,"$PWD"/x86_64-unknown-linux-gnu/lib{gomp,gfortran}/.libs ../../fixed-4.f -fopenacc -c
../../fixed-4.f:3.6:
*$ACC PARALLEL
1
Error: Unclassifiable OpenACC directive at (1)
The corresponding OpenMP examples parse fine.
> We should then also be adding some test coverage for fixed-form mode in
> gcc/testsuite/gfortran.dg/goacc/.
Grüße,
Thomas
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: fixed-3.f
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20140704/9b5cc6af/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: fixed-4.f
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20140704/9b5cc6af/attachment-0001.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: fixed-3-o.f
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20140704/9b5cc6af/attachment-0002.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: fixed-4-o.f
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20140704/9b5cc6af/attachment-0003.ksh>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 472 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20140704/9b5cc6af/attachment.sig>
More information about the Fortran
mailing list