Skip to content
  • Martin Bauer's avatar
    Changed symbolsRead/ symbolsDefined semantics · b207d071
    Martin Bauer authored
    problem in moveConstantBeforeLoops transformation:
    
    --> a should end up here
    {
    for() {
      const int a = 5;
    }
    for() {
      const int a = 5
    }
    }
    
    the "a" of the lower loop was not moved up, since it could not move across first loop (which is wrong)
    b207d071