# interference graph: assigning variable to itself

I'm studying the theory behind compiler design, and was assigned with building an Interference graph for a certain code 3-address code.
We were taught to first divide the code into blocks (according to GOTOs), and draw lines that represent a variables lifeline.
I am not sure on a = a op c (that is, same variable is both read and assigned in same command). I am following this examples, which sadly, has a typo that makes it hard to understand this very end-case. Here, a=a+b+c, so a is both used and assigned.
I have initially treated that with no special care (logic being "i know some interpreters can read RHS before LHS"), but now I am not quite sure.

My question really:
I think perhaps the example should have mark a's line starting from the read() command, end it in the a=a+b+c but also re-draw the line. This way an extra register will temporarily hold a's value before assigning it back to a. Is that correct?

You are right. The lifetime of a could be split into two spans. That said, how would you notate that in the interference graph? That is, how would you notate that one variable only interfered with one span of another variable's lifetime?