-d0 is highest optimization for small scripts, and contains no debugging information. while it works, be warned the compiler may take "shortcuts" that have unexpected results with more complicated operations.
also note you can turn all optimizations off with this:
-d3 -C+