[gomp4] correct the reported line number in fortran combined OpenACC directives

Cesar Philippidis cesar@codesourcery.com
Thu Feb 23 01:49:00 GMT 2017


Like its c++ counterpart, the fortran FE incorrectly records the line
locations of combined acc loop directives when it lowers the construct
to gimple. Usually this isn't a problem because the fortran FE is able
to report problems with acc loops itself. However, there will be
inaccuracies if the ME tries to use those locations. I had originally
posted the patch here
<https://gcc.gnu.org/ml/gcc-patches/2017-02/msg01256.html>, but Thomas
asked me to put it in a separate patch.

This patch has been applied to gomp-4_0-branch.

Cesar
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gomp4-gfc-combined-directives-location.diff
Type: text/x-patch
Size: 1292 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20170223/2d732667/attachment.bin>


More information about the Fortran mailing list