Code Optimization & Data-Flow Analysis

Answer & solution
Official answer: C
Step 1: Separate a compiler into a source-language front end, an optimizer and a target-machine back end. A shared intermediate representation gives the middle portion a common input/output language. Step 2: The same machine-independent optimization passes can then be used for several source languages or machine targets. This directly explains C. Step 3: Parsing and semantic analysis are primarily front-end tasks, and register allocation is a later target-related task. Intermediate code may assist a design, but the other choices do not state its principal reuse motivation.