Consider the control flow graph given below.
Which one of the following options is the set of live variables at the exit point of each basic block?
The problem requires identifying the set of live variables at the exit point of each basic block in a control flow graph. Let's analyze each block step-by-step:
The correct answer is: B1:{a, b, c, e, f}, B2:{d, e}, B3:{b, c, e, f}, B4:\(\emptyset\)
| LIST-I Input | LIST-II Compiler Phase |
|---|---|
| A. Syntax Tree | I. Code Generator |
| B. Character Stream | II. Syntax Analyzer |
| C. Intermediate Representation | III. Semantic Analyzer |
| D. Token Stream | IV. Lexical Analyzer |