Negative line numbers (PR 19195)

Erik Schnetter schnetter@aei.mpg.de
Sat Jun 4 18:46:00 GMT 2005


On Saturday 04 June 2005 19:31, Erik Schnetter wrote:
> I noticed that the functions gfc_{get,set}_backend_locus are not
> inverses of each other.  One of them decrements the line number, the
> other one does not increment it.  Could this be a problem?

When I remove the "-1", the bug seems to go away.  I attached a 
corresponding patch to the PR.  Is that a good way to suggest a patch?  
I don't understand this piece of code, and I don't know whether just 
removing the "-1" is even a good idea.

-erik

-- 
Erik Schnetter <schnetter@aei.mpg.de>   http://www.aei.mpg.de/~eschnett/

My email is as private as my paper mail.  I therefore support encrypting
and signing email messages.  Get my PGP key from www.keyserver.net.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20050604/75797d26/attachment.sig>


More information about the Fortran mailing list