The GATE Grind

GATE 2008 CS – Question 12

Compiler Design · Code Optimization and Data Flow Analysis · 1 mark · Multiple choice

Some optimizations are performed on intermediate code because

  1. they enhance compiler portability to other target processors.
  2. program analysis is more accurate on intermediate code than machine code.
  3. dataflow analysis information cannot otherwise be used for optimization.
  4. frontend information cannot otherwise be used for optimization.

Practise this question in The GATE Grind →

Show answer and explanation

Correct answer: (A) they enhance compiler portability to other target processors.

Explanation

We are sorry we couldn't write detailed soluition for this, we are working on it!, please consider asking your own AI, its just 2-3 clicks with very minimum effort

More Code Optimization and Data Flow Analysis questions

All Code Optimization and Data Flow Analysis questions →