1 votes 1 votes Consider the following code segment: c = b + a e = c - a f = c * e h = c + a i = h + f The minimum number of temporary variable required to convert the above code segment to static single assignment form is ________. Compiler Design compiler-design static-single-assignment + – Hemant Parihar asked Jan 19, 2018 • edited Jan 19, 2018 by Hemant Parihar Hemant Parihar 1.2k views answer comment Share Follow See all 12 Comments See all 12 12 Comments reply Show 9 previous comments Anu007 commented Jan 19, 2018 reply Follow Share same in question 2nd equation is simply store b , which can be seen via DAG , and we can save 1 temp register. 1 votes 1 votes saxena0612 commented Jan 19, 2018 reply Follow Share @ Anu007 Agree with 4 temporary variables for this segment. But If question asks : The minimum number of temporary variable required to convert the above "part of program" to static single assignment form is : Answer would be same "4" or "5"? 0 votes 0 votes Ayan Kumar Pahari commented Feb 1, 2020 reply Follow Share It's already in SSA form. So 0 temporary variables required. 0 votes 0 votes Please log in or register to add a comment.