GNU Info

Info Node: (g77-295.info)Surprising Interpretations of Code

(g77-295.info)Surprising Interpretations of Code


Next: Aliasing Assumed To Work Prev: Unused Arguments Up: Working Programs
Enter node , (file) or (file)node

Surprising Interpretations of Code
----------------------------------

   The `-Wsurprising' option can help find bugs involving expression
evaluation or in the way `DO' loops with non-integral iteration
variables are handled.  Cases found by this option might indicate a
difference of interpretation between the author of the code involved,
and a standard-conforming compiler such as `g77'.  Such a difference
might produce actual bugs.

   In any case, changing the code to explicitly do what the programmer
might have expected it to do, so `g77' and other compilers are more
likely to follow the programmer's expectations, might be worthwhile,
especially if such changes make the program work better.


automatically generated by info2www version 1.2.2.9