| Summary: | Arthmetic If refactoring bug | ||
|---|---|---|---|
| Product: | [Tools] PTP | Reporter: | Mariano Mendez <marianomendez> |
| Component: | Photran.Refactoring Engine | Assignee: | Jeffrey Overbey <com-eclipse-dot-org> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | com-eclipse-dot-org |
| Version: | unspecified | ||
| Target Milestone: | 7.0 | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | |||
Thanks, Mariano. This is fixed in HEAD. |
Build Identifier: 20100917-0705 trying to refactor the next line of code if(ifcur-2)120,60,120 60 if(4*ip2-ip4)80,80,120 80 if(ifact(if+1)-2)120,100,120 obtaining : if(ifcur-2< 0) then goto 120 else if(ifcur-2 == 0) then goto 60 else goto 120 end if if(4*ip2-ip4< 0) then goto 80 else if(4*ip2-ip4 == 0) then goto 80 else goto 120 end if if(ifact(if+1)-2< 0) then goto 120 else if(ifact(if+1)-2 == 0) then goto 100 else goto 120 end if loosing labels like 80 and 60 Reproducible: Always