Support reading input graph from stdin and write output graph to stdout by default.
gcc -O4 is the same as -O3.