there are various errors that may occur - syntax errors, type coercion errors (using a number where a string is expected), arithmetic errors (divide by 0), and possibly others (overflow?)I guess the error message, line number etc. is written to stderr. What output is expected to be written to the output file when these errors occur? Is the output ignored, oor should it contain all output statements up to the point of the line that is in error?
For more complete information about compiler optimizations, see our Optimization Notice.