[fpc-pascal] Strange debugging issue

John Coppens john at jcoppens.com
Mon Apr 5 16:36:08 CEST 2010

On Mon, 5 Apr 2010 16:21:33 +0200
Jonas Maebe <jonas.maebe at elis.ugent.be> wrote:

> This usually means that you modified the file since it was loaded in
> the debugger.

And it still gives some strange result:

      if ch = eofchar then 
        sy := sps[ch]
      else begin
        goto 1;


654	      if ch = eofchar then
(gdb) n
655	        sy := sps[ch]
659	        goto 1;
661	    symbol_read := true;

Does this have anything to do with optimizations? (the goto isn't
actually executed). No optimizations are explicitly enabled.


More information about the fpc-pascal mailing list