Worst extension ever?



What you think was the worst extension to Fortran you've ever
come across?

My personal (dis)favorite was the AT statement in a Siemens/Fujitsu
compiler, for debugging purposes. It actually implemented the
infamous "come from" statement, and it also introduced different
behavior when debugging.

Code like

10 A = I+3
20 B = I+5
DEBUG
AT 10
IF (I.LT.4) I=42
GOTO 20
END

would, when debugging was turned on, magically yank control flow
away at the statement label 10, change the value of I and then
jump back.

Urgh.

Anything worse?
.



Relevant Pages

  • Re: Why forth is not popular
    ... Even most people here responded they write a file, test it, exit the compiler, make changes to their code and run the beast again. ... which had a more sophisticated file system than many 21st century systems. ... Made it easy to find and remove the debugging ... I must admit that Perl has had its way, but Perl doesn't claim to be a compiler. ...
    (comp.lang.forth)
  • Re: Need debugging help!
    ... Is it possible that the compiler is starting the divide before it completes the test for LO? ... 101 INTEGER, INTENT(OUT):: IBO, NO ... If the print statement at line #223 is UNcommented, ... So I'm appealing to the clf group for any debugging ideas. ...
    (comp.lang.fortran)
  • Re: Need debugging help!
    ... Are all you calls under control of explicit interfaces in F90? ... you have checked subscripts are there any object libraries have have ... calls even without F90 explicit interfaces when you enable their debugging. ... I am looking at this exercise as a learning process regarding the use of the intel compiler on our new supercomputer. ...
    (comp.lang.fortran)
  • Re: Reading a string of unknown size
    ... and are ignored by the compiler. ... how can it be redundant? ... Have you ever tried *not* messing up a void * pointer? ... inadvertantly underallocate and you have good heap debugging facilities ...
    (comp.lang.c)
  • Update. Re: Need debugging help!
    ... We're pretty much convinced the problem still exists in our code and that somehow the updated compiler helped "fix" it. ... 101 INTEGER, INTENT(OUT):: IBO, NO ... If the print statement at line #223 is UNcommented, ... So I'm appealing to the clf group for any debugging ideas. ...
    (comp.lang.fortran)