Skip to content

Beta · Data may be lost.Your data may be reset or lost.

GateBrew
← GATE CSE 2015 Set 1
Questions

Q50

MCQ2 marks, −0.67Compiler designMedium

A variable xx is said to be live at a statement sis_{i} in a program if the following three conditions hold simultaneously: There exists a statement SjS_{j} that uses xx There is a path from SiS_{i} to SjS_{j} in the flow graph corresponding to the program The path has no intervening assignment to xx including at SiS_{i} and SjS_{j}

Figure 1

The variables which are live both at the statement in basic block 22 and at the statement in basic block 33 of the above control flow graph are

Sign in to save attempts.

The solution is hidden while you attempt this question. It opens once you check or show the answer.